//
// TimerTriggerGameObject::triggerObject from 0x899378 to 0x89948c (276 bytes)
//
// 2 xrefs:
// > ??> @ 0xd6be8
// > ??> @ 0x1453b10
//
// 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 TimerTriggerGameObject::triggerObject(
SFXTriggerGameObject *a1,
GJEffectManager **this,
int a3,
const void **a4)
{
int v6; // w0
void *v8; // [xsp+40h] [xbp+40h] BYREF
char *v9; // [xsp+48h] [xbp+48h]
__int64 v10; // [xsp+50h] [xbp+50h]
v6 = *((_DWORD *)a1 + 257);
if ( v6 >= 3614 && (v6 <= 3615 || v6 == 3617) )
{
if ( a4 )
{
std::vector::vector((__int64 *)&v8, a4);
}
else
{
v8 = nullptr;
v9 = nullptr;
v10 = 0;
}
GJBaseGameLayer::activateTimerTrigger(this, a1, &v8);
if ( v8 )
{
if ( v8 != v9 )
v9 += 4 * ~((unsigned __int64)(v9 - 4 - (_BYTE *)v8) >> 2);
operator delete(v8);
}
}
else
{
EffectGameObject::triggerObject(a1, this, a3, a4);
}
return _stack_chk_guard;
}