//
// GJBaseGameLayer::activateTimerTrigger from 0x595ae0 to 0x595bbc (220 bytes)
//
// 1 xrefs:
// > TimerTriggerGameObject::triggerObject @ 0x4f5924
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:08 +0000
//
int __fastcall GJBaseGameLayer::activateTimerTrigger(int result, int a2, int a3)
{
int v3; // r3
int v4; // r3
v3 = *(_DWORD *)(a2 + 892);
switch ( v3 )
{
case 3615:
return GJEffectManager::runTimerTrigger(
*(_DWORD *)(result + 1524),
*(_DWORD *)(a2 + 1500),
*(_DWORD *)(a2 + 1656),
*(_DWORD *)(a2 + 1660),
*(unsigned __int8 *)(a2 + 1673),
*(_DWORD *)(a2 + 1284),
a3,
*(_DWORD *)(a2 + 780),
*(_DWORD *)(a2 + 1492));
case 3617:
v4 = *(_DWORD *)(a2 + 1676);
if ( v4 )
{
if ( v4 == 1 )
return GJEffectManager::pauseTimer(*(GJEffectManager **)(result + 1524), *(_DWORD *)(a2 + 1500));
}
else
{
return GJEffectManager::resumeTimer(*(GJEffectManager **)(result + 1524), *(_DWORD *)(a2 + 1500));
}
break;
case 3614:
return GJEffectManager::startTimer(
*(_DWORD *)(result + 1524),
*(_DWORD *)(a2 + 1500),
*(_DWORD *)(a2 + 1648),
*(_DWORD *)(a2 + 1652),
*(double *)(a2 + 1656),
*(_BYTE *)(a2 + 1664),
*(_BYTE *)(a2 + 1672) ^ 1,
*(_BYTE *)(a2 + 1665),
*(float *)(a2 + 1668),
*(_BYTE *)(a2 + 1666),
*(_DWORD *)(a2 + 1284),
a3,
*(_DWORD *)(a2 + 780),
*(_DWORD *)(a2 + 1492));
}
return result;
}