//
// GJEffectManager::resetMoveActions from 0x1002c8b20 to 0x1002c8c15 (245 bytes)
//
// 1 xrefs:
// > GJEffectManager::reset @ 0x1002c82cd
//
// This function is hookable on this platform (idp: pc, 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:28:09 +0000
//
__int64 __fastcall GJEffectManager::resetMoveActions(__int64 *a1)
{
_QWORD *v2; // rdi
_QWORD *v3; // r14
__int64 v4; // rsi
_QWORD *v5; // rdi
_QWORD *v6; // r14
__int64 v7; // rsi
__int64 result; // rax
sub_1000988A0((__int64)(a1 + 154), a1[154]);
if ( a1[160] )
{
v2 = (_QWORD *)a1[159];
if ( v2 )
{
do
{
v3 = (_QWORD *)*v2;
operator delete(v2);
v2 = v3;
}
while ( v3 );
}
a1[159] = 0;
v4 = a1[158];
if ( v4 )
__bzero(a1[157], 8 * v4);
a1[160] = 0;
}
if ( a1[176] )
{
v5 = (_QWORD *)a1[175];
if ( v5 )
{
do
{
v6 = (_QWORD *)*v5;
operator delete(v5);
v5 = v6;
}
while ( v6 );
}
a1[175] = 0;
v7 = a1[174];
if ( v7 )
__bzero(a1[173], 8 * v7);
a1[176] = 0;
}
result = a1[188];
a1[189] = result;
return result;
}