//
// GJBaseGameLayer::triggerAreaEffect from 0x10028ff9c to 0x100290020 (132 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x10042b9b0
//
// 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:02:02 +0000
//
__int64 __fastcall GJBaseGameLayer::triggerAreaEffect(__int64 a1, __int64 a2)
{
int v2; // w8
__int64 result; // x0
v2 = *(_DWORD *)(a2 + 1028);
if ( v2 > 3008 )
{
if ( (unsigned int)(v2 - 3011) >= 5 )
{
if ( v2 == 3009 || v2 == 3010 )
return GJBaseGameLayer::addAreaEffect();
}
else
{
return GJBaseGameLayer::triggerAreaEffectAnimation();
}
}
else if ( v2 == 3006 || v2 == 3007 || v2 == 3008 )
{
return GJBaseGameLayer::addAreaEffect();
}
return result;
}