//
// GJEffectManager::resetMoveActions from 0x5c4682 to 0x5c46f4 (114 bytes)
//
// 1 xrefs:
// > GJEffectManager::reset @ 0x5cc6d4
//
// 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:52 +0000
//
_DWORD *__fastcall GJEffectManager::resetMoveActions(GJEffectManager *this)
{
int v2; // r5
int v3; // r0
GroupCommandObject2 *v4; // r0
_DWORD *i; // r0
_DWORD *v6; // r5
_DWORD *v7; // r3
_DWORD *result; // r0
int v9; // r2
int v10; // r3
v2 = *((_DWORD *)this + 180);
while ( 1 )
{
v3 = *((_DWORD *)this + 181);
if ( v2 == v3 )
break;
v4 = (GroupCommandObject2 *)(v3 - 488);
*((_DWORD *)this + 181) = v4;
GroupCommandObject2::~GroupCommandObject2(v4);
}
if ( *((_DWORD *)this + 186) )
{
for ( i = *((_DWORD **)this + 185); i; i = v6 )
{
v6 = (_DWORD *)*i;
operator delete(i);
}
v7 = *((_DWORD **)this + 184);
*((_DWORD *)this + 185) = 0;
while ( i != v7 )
{
*(_DWORD *)(*((_DWORD *)this + 183) + 4 * (_DWORD)i) = 0;
i = (_DWORD *)((char *)i + 1);
}
*((_DWORD *)this + 186) = 0;
}
result = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::clear((_DWORD *)this + 199);
v9 = *((_DWORD *)this + 214);
while ( 1 )
{
v10 = *((_DWORD *)this + 215);
if ( v9 == v10 )
break;
*((_DWORD *)this + 215) = v10 - 4;
}
return result;
}