//
// GJBaseGameLayer::resetActiveEnterEffects from 0x59ccba to 0x59cd18 (94 bytes)
//
// 3 xrefs:
// > PlayLayer::init @ 0x40af06
// > PlayLayer::resetLevel @ 0x4124c4
// > GJBaseGameLayer::resetLevelVariables @ 0x5b9682
//
// 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:13 +0000
//
void __fastcall GJBaseGameLayer::resetActiveEnterEffects(GJBaseGameLayer *this)
{
_DWORD *v1; // r2
int i; // r3
_DWORD *v4; // r2
int j; // r3
v1 = *((_DWORD **)this + 284);
for ( i = (*((_DWORD *)this + 285) - (int)v1) >> 2; i > 0; --i )
*v1++ = -2;
v4 = *((_DWORD **)this + 287);
for ( j = (*((_DWORD *)this + 288) - (int)v4) >> 2; j > 0; --j )
*v4++ = -2;
if ( *((_DWORD *)this + 277) )
sub_59CC84((_DWORD *)this + 274);
if ( *((_DWORD *)this + 282) )
sub_59CC84((_DWORD *)this + 279);
}