//
// EnhancedGameObject::activatedByPlayer from 0x1402a1a30 to 0x1402a1a88 (88 bytes)
//
// 43 xrefs:
// > ??> @ 0x14075ee20
// > ??> @ 0x14081f228
// > ??> @ 0x1408201a0
// > ??> @ 0x1408208f8
// > ??> @ 0x140820fb0
// > ??> @ 0x140821718
// > ??> @ 0x140821dd0
// > ??> @ 0x1408224b0
// > ??> @ 0x140822b68
// > ??> @ 0x140823478
// > ??> @ 0x140823bc0
// > ??> @ 0x140824278
// > ??> @ 0x140824a70
// > ??> @ 0x140825128
// > ??> @ 0x1408257e0
// > ??> @ 0x140826050
// > ??> @ 0x140826848
// > ??> @ 0x140826ff0
// > ??> @ 0x140827720
// > ??> @ 0x140827dd8
// > ??> @ 0x140828530
// > ??> @ 0x140828d78
// > ??> @ 0x140829430
// > ??> @ 0x140829bb0
// > ??> @ 0x14082a330
// > ??> @ 0x14082a9e8
// > ??> @ 0x14082b0a0
// > ??> @ 0x14082bab0
// > ??> @ 0x14082c1e0
// > ??> @ 0x14082c898
// > ??> @ 0x14082cf50
// > ??> @ 0x14082d608
// > ??> @ 0x14082ddd8
// > ??> @ 0x14082e580
// > ??> @ 0x14082ec38
// > ??> @ 0x14082f2f0
// > ??> @ 0x14082f9a8
// > ??> @ 0x140830060
// > ??> @ 0x140830718
// > ??> @ 0x140830dd0
// > ??> @ 0x1408315f0
// > ??> @ 0x140831d70
// > ??> @ 0x14091d9cc
//
// This function is hookable on this platform (idp: pc, 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:29:15 +0000
//
__int64 __fastcall EnhancedGameObject::activatedByPlayer(__int64 *a1, __int64 a2)
{
__int64 v2; // rax
__int64 result; // rax
v2 = *a1;
*((_BYTE *)a1 + 1459) = 1;
result = (*(__int64 (__fastcall **)(__int64 *, _QWORD))(v2 + 1592))(a1, *(unsigned __int8 *)(a2 + 2936));
if ( !(_BYTE)result )
{
if ( *(_DWORD *)(a2 + 924) == 1 )
*((_BYTE *)a1 + 1460) = 1;
else
*((_BYTE *)a1 + 1461) = 1;
}
return result;
}