I see Alexander Blade's ScriptHookRDR2 SDK is
DWORD model = GAMEPLAY::GET_HASH_KEY(const_cast<char *>(m_model.c_str()));
if (STREAMING::IS_MODEL_IN_CDIMAGE(model) && STREAMING::IS_MODEL_VALID(model))
{
UINT64 *ptr1 = getGlobalPtr(0x28) + 0x27;
UINT64 *ptr2 = getGlobalPtr(((DWORD)7 << 18) | 0x1890C) + 2;
UINT64 bcp1 = *ptr1;
UINT64 bcp2 = *ptr2;
*ptr1 = *ptr2 = model;
WaitAndDraw(1000);
Ped playerPed = PLAYER::PLAYER_PED_ID();
PED::SET_PED_VISIBLE(playerPed, TRUE);
if (ENTITY::GET_ENTITY_MODEL(playerPed) != model)
{
*ptr1 = bcp1;
*ptr2 = bcp2;
}
}
But game updata,now can't.
What is "0x28" "0x27" "0x1890C" ?