[saco] Implement/match CPlayerPed::FUNC_100ACE50; the else branch needs a zeroed register, which is why retail cmps instead of tests

This commit is contained in:
ricardoofnl committed 2026-09-05 08:45:37 +07:00
1 parent 9938023f49
commit 8cd945bd9f
2 files changed
+17

No files matched your search

+16
View File
@@ -1894,6 +1894,22 @@ int CPlayerPed::FUNC_100AC690()
}
//-----------------------------------------------------------
void CPlayerPed::FUNC_100ACE50(int a1)
{
field_2E2 = a1;
if(a1) {
field_2F7 = 1;
field_2F6 = 1;
field_2F8 = 1;
} else {
field_2F7 = 0;
field_2F6 = 0;
field_2F8 = 0;
}
}
//-----------------------------------------------------------
BOOL CPlayerPed::FUNC_100ADA00()
{
if(!m_pPed) {
+1
View File
@@ -195,6 +195,7 @@ public:
int FUNC_100AEF60(); // .text:100AEF60
int FUNC_100AC690(); // .text:100AC690
void FUNC_100ACE50(int a1); // .text:100ACE50
BOOL FUNC_100ADA00(); // .text:100ADA00
int FUNC_100AE960(int a1); // .text:100AE960
struc_13 * FUNC_100AE5D0(); // .text:100AE5D0