TCharacterInstanceMap is not working

03/07/2024 14:24 hanibalbin#1
So i found CPythonCharacterManager and it seems that at the +30 or +34 offset there are pointers to CInstanceBase, i set my TCharacterInstanceMap there and it crashes every time.

Am i dereferencing the pointer wrong? I'm doing it like this:
Code:
TCharacterInstanceMap GameFunc::GetEntities() {
		return *(TCharacterInstanceMap*) (*reinterpret_cast<DWORD*>(*reinterpret_cast<DWORD*>(Pointer::CPythonCharacterManager + 34) + 4));
}