//
// GJBaseGameLayer::triggerAreaEffect from 0x5ac2ac to 0x5ac2f6 (74 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x4f4c10
//
// 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:26 +0000
//
void __fastcall GJBaseGameLayer::triggerAreaEffect(GJBaseGameLayer *this, EnterEffectObject *a2)
{
int *v2; // r2
unsigned int v3; // r3
switch ( *((_DWORD *)a2 + 223) )
{
case 0xBBE:
v2 = (int *)((char *)this + 1160);
v3 = 0;
goto LABEL_4;
case 0xBBF:
v2 = (int *)((char *)this + 1172);
v3 = 1;
goto LABEL_4;
case 0xBC0:
v2 = (int *)((char *)this + 1184);
v3 = 2;
goto LABEL_4;
case 0xBC1:
v2 = (int *)((char *)this + 1196);
v3 = 3;
goto LABEL_4;
case 0xBC2:
v2 = (int *)((char *)this + 1208);
v3 = 4;
LABEL_4:
GJBaseGameLayer::addAreaEffect(this, a2, v2, v3);
break;
case 0xBC3:
case 0xBC4:
case 0xBC5:
case 0xBC6:
case 0xBC7:
GJBaseGameLayer::triggerAreaEffectAnimation(this, a2);
break;
default:
return;
}
}