//
// GJBaseGameLayer::stopCustomEnterEffect_1 from 0x10027cfb4 to 0x10027d018 (100 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x10042c238
//
// 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:01:53 +0000
//
__int64 __fastcall GJBaseGameLayer::stopCustomEnterEffect_1(__int64 result, __int64 a2)
{
__int64 v3; // x20
unsigned int v4; // w8
v3 = result;
v4 = *(_DWORD *)(a2 + 1840);
if ( v4 <= 1 )
{
result = GJBaseGameLayer::stopCustomEnterEffect(result, a2, 1);
v4 = *(_DWORD *)(a2 + 1840);
}
if ( (v4 | 2) == 2 )
return GJBaseGameLayer::stopCustomEnterEffect(v3, a2, 0);
return result;
}