//
// EnhancedGameObject::activatedByPlayer from 0x44c280 to 0x44c2ae (46 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:48:34 +0000
//
int __fastcall EnhancedGameObject::activatedByPlayer(EnhancedGameObject *this, PlayerObject *a2)
{
int v3; // r3
int result; // r0
v3 = *(_DWORD *)this;
*((_BYTE *)this + 1263) = 1;
result = (*(int (__fastcall **)(EnhancedGameObject *, _DWORD))(v3 + 872))(this, *((unsigned __int8 *)a2 + 2320));
if ( !result )
{
if ( *((_DWORD *)a2 + 195) == 1 )
*((_BYTE *)this + 1264) = 1;
else
*((_BYTE *)this + 1265) = 1;
}
return result;
}