//
// GJBaseGameLayer::stopCustomEnterEffect from 0x9c5ce8 to 0x9c5d44 (92 bytes)
//
// 2 xrefs:
// > EffectGameObject::triggerObject @ 0x8981ac
// > ??> @ 0xde880
//
// 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:32 +0000
//
GJBaseGameLayer *__fastcall GJBaseGameLayer::stopCustomEnterEffect(GJBaseGameLayer *this, EnterEffectObject *a2)
{
GJBaseGameLayer *v3; // x20
unsigned int v4; // w2
v3 = this;
v4 = *((_DWORD *)a2 + 460);
if ( v4 <= 1 )
{
this = (GJBaseGameLayer *)GJBaseGameLayer::stopCustomEnterEffect(this, a2, 1u);
v4 = *((_DWORD *)a2 + 460);
}
if ( (v4 & 0xFFFFFFFD) == 0 )
return (GJBaseGameLayer *)GJBaseGameLayer::stopCustomEnterEffect(v3, a2, 0);
return this;
}