//
// EventLinkTrigger::triggerObject from 0x898f98 to 0x899080 (232 bytes)
//
// 2 xrefs:
// > ??> @ 0x55fd8
// > ??> @ 0x144fa90
//
// 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 12:56:11 +0000
//
__int64 __fastcall EventLinkTrigger::triggerObject(__int64 a1, __int64 a2, __int64 a3, const void **a4)
{
void *v7; // [xsp+40h] [xbp+40h] BYREF
char *v8; // [xsp+48h] [xbp+48h]
__int64 v9; // [xsp+50h] [xbp+50h]
if ( a4 )
{
std::vector::vector((__int64 *)&v7, a4);
}
else
{
v7 = nullptr;
v8 = nullptr;
v9 = 0;
}
GJBaseGameLayer::activateEventTrigger(a2, a1, &v7);
if ( v7 )
{
if ( v7 != v8 )
v8 += 4 * ~((unsigned __int64)(v8 - 4 - (_BYTE *)v7) >> 2);
operator delete(v7);
}
return _stack_chk_guard;
}