[saco] Implement/match CPlayerPed::FUNC_100AF1F0; the ped local is stored before its own test, then the tail call reloads this

This commit is contained in:
ricardoofnl
2026-09-05 08:57:40 +07:00
parent b61d2ca7cc
commit 69cf2dfb20
2 changed files with 16 additions and 0 deletions
+14
View File
@@ -2231,6 +2231,20 @@ int CPlayerPed::FUNC_100AD9E0()
}
//-----------------------------------------------------------
void CPlayerPed::FUNC_100AF1F0()
{
DWORD dwPedPtr = (DWORD)m_pPed;
if(dwPedPtr) {
_asm mov ecx, dwPedPtr
_asm mov eax, 0x532B20
_asm call eax
}
FUNC_100AEF90();
}
//-----------------------------------------------------------
void CPlayerPed::FUNC_100AE530(int a1, int a2)
{
if(!m_pPed) return;
+2
View File
@@ -228,6 +228,8 @@ public:
int FUNC_100AD9C0(); // .text:100AD9C0
int FUNC_100AD9E0(); // .text:100AD9E0
void FUNC_100AF1F0(); // .text:100AF1F0
void FUNC_100AEF90(); // .text:100AEF90
void FUNC_100AE530(int a1, int a2); // .text:100AE530
int m_iCellPhoneEnabled;