//
// EnhancedGameObject::activatedByPlayer from 0x100300384 to 0x1003003dc (88 bytes)
//
// 43 xrefs:
// > ??> @ 0x100929140
// > ??> @ 0x10094d920
// > ??> @ 0x10094e168
// > ??> @ 0x10094e970
// > ??> @ 0x10094f178
// > ??> @ 0x10094f980
// > ??> @ 0x100950188
// > ??> @ 0x100950990
// > ??> @ 0x100951990
// > ??> @ 0x1009521b0
// > ??> @ 0x100952a28
// > ??> @ 0x100953248
// > ??> @ 0x100953a68
// > ??> @ 0x100954288
// > ??> @ 0x100954aa8
// > ??> @ 0x1009552c8
// > ??> @ 0x100955ae8
// > ??> @ 0x100956308
// > ??> @ 0x100956b28
// > ??> @ 0x100957348
// > ??> @ 0x100957b80
// > ??> @ 0x1009583e8
// > ??> @ 0x100958c20
// > ??> @ 0x100959458
// > ??> @ 0x100959c90
// > ??> @ 0x10095a4c8
// > ??> @ 0x10095ace8
// > ??> @ 0x10095b508
// > ??> @ 0x10095bd28
// > ??> @ 0x10095c548
// > ??> @ 0x10095cd68
// > ??> @ 0x10095d588
// > ??> @ 0x10095dda8
// > ??> @ 0x10095e5c8
// > ??> @ 0x10095ede8
// > ??> @ 0x10095f608
// > ??> @ 0x10095fe28
// > ??> @ 0x100960648
// > ??> @ 0x100960e68
// > ??> @ 0x100961688
// > ??> @ 0x100961ea8
// > ??> @ 0x1009626c8
// > ??> @ 0x100962ee8
//
// 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::activatedByPlayer(_BYTE *a1, __int64 a2)
{
__int64 result; // x0
a1[1443] = 1;
result = (*(__int64 (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1744LL))(a1, *(unsigned __int8 *)(a2 + 2832));
if ( (result & 1) == 0 )
{
if ( *(_DWORD *)(a2 + 916) == 1 )
a1[1444] = 1;
else
a1[1445] = 1;
}
return result;
}