//
// EnhancedGameObject::hasBeenActivatedByPlayer from 0x1003003dc to 0x100300434 (88 bytes)
//
// 43 xrefs:
// > ??> @ 0x100929148
// > ??> @ 0x10094d928
// > ??> @ 0x10094e170
// > ??> @ 0x10094e978
// > ??> @ 0x10094f180
// > ??> @ 0x10094f988
// > ??> @ 0x100950190
// > ??> @ 0x100950998
// > ??> @ 0x100951998
// > ??> @ 0x1009521b8
// > ??> @ 0x100952a30
// > ??> @ 0x100953250
// > ??> @ 0x100953a70
// > ??> @ 0x100954290
// > ??> @ 0x100954ab0
// > ??> @ 0x1009552d0
// > ??> @ 0x100955af0
// > ??> @ 0x100956310
// > ??> @ 0x100956b30
// > ??> @ 0x100957350
// > ??> @ 0x100957b88
// > ??> @ 0x1009583f0
// > ??> @ 0x100958c28
// > ??> @ 0x100959460
// > ??> @ 0x100959c98
// > ??> @ 0x10095a4d0
// > ??> @ 0x10095acf0
// > ??> @ 0x10095b510
// > ??> @ 0x10095bd30
// > ??> @ 0x10095c550
// > ??> @ 0x10095cd70
// > ??> @ 0x10095d590
// > ??> @ 0x10095ddb0
// > ??> @ 0x10095e5d0
// > ??> @ 0x10095edf0
// > ??> @ 0x10095f610
// > ??> @ 0x10095fe30
// > ??> @ 0x100960650
// > ??> @ 0x100960e70
// > ??> @ 0x100961690
// > ??> @ 0x100961eb0
// > ??> @ 0x1009626d0
// > ??> @ 0x100962ef0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:03:05 +0000
//
__int64 __fastcall EnhancedGameObject::hasBeenActivatedByPlayer(_BYTE *a1, __int64 a2)
{
char v4; // w8
if ( ((*(__int64 (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1744LL))(a1, *(unsigned __int8 *)(a2 + 2832)) & 1) != 0 )
{
v4 = 0;
}
else if ( *(_DWORD *)(a2 + 916) == 1 )
{
v4 = a1[1444];
}
else
{
v4 = a1[1445];
}
return v4 & 1;
}