[saco] Match FUNC_100A3B80; it maps a ped pointer to its actor id

This commit is contained in:
ricardoofnl committed 2026-09-03 02:02:39 +07:00
1 parent 37237dd629
commit 89f12d3d55
2 files changed
+10

No files matched your search

+9
View File
@@ -1366,6 +1366,15 @@ DWORD unnamed_101516A4; // CPed * taking the damage
int __stdcall FUNC_100A3BB0(DWORD *pEventDamage, PED_TYPE *pPed); // todo: implement `FUNC_100A3BB0`
// maps a ped pointer to the actor that owns it
ACTORID FUNC_100A3B80(DWORD dwPed)
{
if(!dwPed) return 0xFFFF;
return pNetGame->GetActorPool()->FUNC_100018B0(dwPed);
}
//-----------------------------------------------------------
NUDE PedDamage_Hook()
{
__asm
+1
View File
@@ -18,6 +18,7 @@ public:
CActorPool();
void sub_100016F0(ACTORID ActorID); // .text:100016F0
ACTORID FUNC_100018B0(DWORD dwPtr); // .text:100018B0
};
//----------------------------------------------------