//
// GJBaseGameLayer::stopCustomEnterEffect from 0x5a6d7c to 0x5a6da8 (44 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x4f541e
//
// 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:21 +0000
//
int *__fastcall GJBaseGameLayer::stopCustomEnterEffect(int *this, EnterEffectObject *a2)
{
GJBaseGameLayer *v2; // r5
v2 = (GJBaseGameLayer *)this;
if ( *((_DWORD *)a2 + 412) <= 1u )
this = GJBaseGameLayer::stopCustomEnterEffect((GJBaseGameLayer *)this, a2, 1u);
if ( (*((_DWORD *)a2 + 412) & 0xFFFFFFFD) == 0 )
return GJBaseGameLayer::stopCustomEnterEffect(v2, a2, 0);
return this;
}