//
// GJBaseGameLayer::triggerAreaEffect from 0x9ca530 to 0x9ca59c (108 bytes)
//
// 2 xrefs:
// > EffectGameObject::triggerObject @ 0x898190
// > ??> @ 0x77b18
//
// 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:58:35 +0000
//
GJBaseGameLayer *__fastcall GJBaseGameLayer::triggerAreaEffect(
GJBaseGameLayer *this,
EnterEffectObject *a2,
__int64 a3,
__int64 a4,
int a5,
int a6,
int a7,
int a8,
char a9)
{
__int64 *v9; // x2
int v10; // w3
switch ( *((_DWORD *)a2 + 257) )
{
case 0xBBE:
v9 = (__int64 *)((char *)this + 1480);
v10 = 0;
goto LABEL_3;
case 0xBBF:
v9 = (__int64 *)((char *)this + 1504);
v10 = 1;
goto LABEL_3;
case 0xBC0:
v9 = (__int64 *)((char *)this + 1528);
v10 = 2;
goto LABEL_3;
case 0xBC1:
v9 = (__int64 *)((char *)this + 1552);
v10 = 3;
goto LABEL_3;
case 0xBC2:
v9 = (__int64 *)((char *)this + 1576);
v10 = 4;
LABEL_3:
this = (GJBaseGameLayer *)GJBaseGameLayer::addAreaEffect(this, a2, v9, v10, a5, a6, a7, a8, a9);
break;
case 0xBC3:
case 0xBC4:
case 0xBC5:
case 0xBC6:
case 0xBC7:
this = (GJBaseGameLayer *)GJBaseGameLayer::triggerAreaEffectAnimation(this, a2);
break;
default:
return this;
}
return this;
}