[saco] Implement/match CPlayerPed::FUNC_100AE790; the no-task branch tails into FUNC_100AE6A0 with this still in ecx

This commit is contained in:
ricardoofnl
2026-09-05 09:05:20 +07:00
parent 69cf2dfb20
commit 7f80a565e2
2 changed files with 18 additions and 0 deletions
+13
View File
@@ -2255,3 +2255,16 @@ void CPlayerPed::FUNC_100AE530(int a1, int a2)
FUNC_100B1DA0(pRenderWare, a1, a2);
}
//-----------------------------------------------------------
DWORD CPlayerPed::FUNC_100AE790()
{
if(!m_pPed) return 0;
if(m_pPed->entity.vtable == 0x863C40) return 0;
if(!m_pPed->entity.pdwRenderWare) return 0;
DWORD *pTask = FUNC_100AE6E0();
if(pTask) return FUNC_100AE5F0(pTask);
return FUNC_100AE6A0();
}
//-----------------------------------------------------------
+5
View File
@@ -232,6 +232,11 @@ public:
void FUNC_100AEF90(); // .text:100AEF90
void FUNC_100AE530(int a1, int a2); // .text:100AE530
DWORD FUNC_100AE790(); // .text:100AE790
DWORD * FUNC_100AE6E0(); // .text:100AE6E0
DWORD FUNC_100AE5F0(DWORD *pTask); // .text:100AE5F0
DWORD FUNC_100AE6A0(); // .text:100AE6A0
int m_iCellPhoneEnabled;
int field_4C[10];
struc_97 field_74[10];