PB Kyabo 3A Persona

Codice:
void ThirdPerson ( bool bActive )
{
    DWORD    pCameraManager    = 0xAFE208;
    DWORD    fn          = 0x53EE40;
    int    mode        = bActive?4:bActive;    

    (*(int (__thiscall*)(void*, int, float))fn)(*(LPVOID*)pCameraManager, mode, 0.0);    
}
Per chiamare la funzione usare

Codice:
if(variable)
{
ThirdPerson(true);
}else{
ThirdPerson(false);
}
Codice:
how to update pCameraManager search for : g_pCameraManager
and for update address third person use :

#define PATT_3aPerson "\x55\x8B\xEC\x83\xEC\x2C\x89\x4D\xD4\x8B\x45\xD4\x83\xC0\x48\x89\x45\xF4\x8B\x4D\xF4\x8B\x55\xF4\x8B\x41\x04\x2B\x02\xC1\xF8\x02\x39\x45\x08\x7C\x2A\x6A\x00\x68\x00\x00\x00\x00\x68\x00\x00\x00\x00\x6A\x00\xFF\x15\x00\x00\x00\x00\x83\xC4\x10\x68\x00\x00\x00\x00\x68\x00\x00\x00\x00\xFF\x15\x00\x00\x00\x00\x83\xC4\x08\x8B\x4D\xD4"
#define MASK_3aPerson "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx????x????xxxx????xxxx????x????xx????xxxxxx"