From 4835be746487ab5b48d374f36a0975ceaaaf9d2c Mon Sep 17 00:00:00 2001 From: ricardoofnl Date: Sat, 5 Sep 2026 07:56:32 +0700 Subject: [PATCH] [saco] Implement/match `CPlayerPed::FUNC_100ACF00`; only `al` is live at the `retn 4`, so the setter returns `void` --- saco/game/playerped.cpp | 8 ++++++++ saco/game/playerped.h | 1 + 2 files changed, 9 insertions(+) diff --git a/saco/game/playerped.cpp b/saco/game/playerped.cpp index 63e921e..0eca0a7 100644 --- a/saco/game/playerped.cpp +++ b/saco/game/playerped.cpp @@ -1818,3 +1818,11 @@ BOOL CPlayerPed::FUNC_100ACEF0() } //----------------------------------------------------------- + +void CPlayerPed::FUNC_100ACF00(int a1) +{ + field_2DE = a1; + field_2F8 = (a1 != 0); +} + +//----------------------------------------------------------- diff --git a/saco/game/playerped.h b/saco/game/playerped.h index 7cf7c4d..570176e 100644 --- a/saco/game/playerped.h +++ b/saco/game/playerped.h @@ -184,6 +184,7 @@ public: int FUNC_100AE260(); // .text:100AE260 BOOL FUNC_100ACE40(); // .text:100ACE40 BOOL FUNC_100ACEF0(); // .text:100ACEF0 + void FUNC_100ACF00(int a1); // .text:100ACF00 int m_iCellPhoneEnabled; int field_4C[10];