//
// GroupCommandObject2::reset from 0xba1e5c to 0xba21fc (928 bytes)
//
// 5 xrefs:
// > GJEffectManager::resetTempGroupCommands @ 0xa02844
// > GJEffectManager::createFollowCommand @ 0xa16148
// > GJEffectManager::createPlayerFollowCommand @ 0xa16218
// > GroupCommandObject2::GroupCommandObject2 @ 0xba2ab0
// > ??> @ 0x6fdd8
//
// 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 13:02:47 +0000
//
float __fastcall GroupCommandObject2::reset(GroupCommandObject2 *this)
{
int v2; // w0
__int64 v3; // x21
__int64 v4; // x19
char *v5; // x0
char *v6; // x2
char *v7; // x0
char *v8; // x2
char *v9; // x0
char *v10; // x2
char *v11; // x0
char *v12; // x2
char *v13; // x0
char *v14; // x2
char *v15; // x0
char *v16; // x2
char *v17; // x0
char *v18; // x2
char *v19; // x0
char *v20; // x2
char *v21; // x0
char *v22; // x2
_BYTE *v23; // x0
void **v24; // x19
__int64 v25; // x2
__int64 v26; // x1
v2 = dword_15484B0;
*((_QWORD *)this + 2) = 0;
*(_DWORD *)this = v2;
*((_DWORD *)this + 3) = 0;
dword_15484B0 = v2 + 1;
*((_DWORD *)this + 10) = 0;
*((_DWORD *)this + 11) = 0;
*((_BYTE *)this + 112) = 0;
*((_BYTE *)this + 113) = 0;
*((_BYTE *)this + 114) = 0;
*((_BYTE *)this + 115) = 0;
*((_BYTE *)this + 116) = 0;
*((_BYTE *)this + 117) = 0;
*((_BYTE *)this + 118) = 0;
*((_BYTE *)this + 119) = 0;
*((_BYTE *)this + 120) = 0;
*((_QWORD *)this + 3) = 0;
*((_QWORD *)this + 4) = 0;
*((_QWORD *)this + 6) = 0;
*((_QWORD *)this + 7) = 0;
*((_QWORD *)this + 8) = 0;
*((_QWORD *)this + 9) = 0;
*((_QWORD *)this + 10) = 0;
*((_QWORD *)this + 11) = 0;
*((_QWORD *)this + 12) = 0;
*((_QWORD *)this + 13) = 0;
*((double *)this + 16) = 1.0;
*((double *)this + 17) = 1.0;
*((_BYTE *)this + 184) = 0;
*((_DWORD *)this + 47) = 0;
*((_DWORD *)this + 52) = 0;
*((_BYTE *)this + 288) = 0;
*((_BYTE *)this + 289) = 0;
*((_BYTE *)this + 290) = 0;
*((_DWORD *)this + 82) = 0;
*((_DWORD *)this + 86) = 0;
*((_DWORD *)this + 87) = 0;
*((_DWORD *)this + 100) = 0;
*((_DWORD *)this + 101) = 0;
*((_QWORD *)this + 18) = 0;
*((_QWORD *)this + 19) = 0;
*((_QWORD *)this + 20) = 0;
*((_QWORD *)this + 21) = 0;
*((_QWORD *)this + 22) = 0;
*((_QWORD *)this + 29) = 0;
*((_QWORD *)this + 30) = 0;
*((_QWORD *)this + 31) = 0;
*((_QWORD *)this + 32) = 0;
*((_QWORD *)this + 33) = 0;
*((_QWORD *)this + 34) = 0;
*((_QWORD *)this + 35) = 0;
*((_QWORD *)this + 37) = 0;
*((_QWORD *)this + 38) = 0;
*((_QWORD *)this + 39) = 0;
*((_QWORD *)this + 40) = 0;
*((_QWORD *)this + 42) = 0;
*((_QWORD *)this + 44) = 0;
*((double *)this + 24) = 1.0;
*((double *)this + 25) = 1.0;
*((double *)this + 27) = 1.0;
*((double *)this + 28) = 1.0;
*((_QWORD *)this + 45) = 0;
v3 = *((_QWORD *)this + 55);
*((_QWORD *)this + 46) = 0;
v4 = *((_QWORD *)this + 56);
*((_QWORD *)this + 47) = 0;
*((_BYTE *)this + 424) = 0;
*((_QWORD *)this + 48) = 0;
*((_BYTE *)this + 432) = 1;
*((_QWORD *)this + 49) = 0;
*((_QWORD *)this + 51) = 0;
*((_BYTE *)this + 433) = 0;
*((_QWORD *)this + 52) = 0;
for ( *((_DWORD *)this + 107) = 0; v3 != v4; v4 = *((_QWORD *)this + 56) )
{
*((_QWORD *)this + 56) = v4 - 448;
v5 = *(char **)(v4 - 152);
if ( v5 )
{
v6 = *(char **)(v4 - 144);
if ( v5 != v6 )
*(_QWORD *)(v4 - 144) = &v6[8 * ~((unsigned __int64)(v6 - 8 - v5) >> 3)];
operator delete(v5);
}
v7 = *(char **)(v4 - 176);
if ( v7 )
{
v8 = *(char **)(v4 - 168);
if ( v7 != v8 )
*(_QWORD *)(v4 - 168) = &v8[8 * ~((unsigned __int64)(v8 - 8 - v7) >> 3)];
operator delete(v7);
}
v9 = *(char **)(v4 - 200);
if ( v9 )
{
v10 = *(char **)(v4 - 192);
if ( v9 != v10 )
*(_QWORD *)(v4 - 192) = &v10[8 * ~((unsigned __int64)(v10 - 8 - v9) >> 3)];
operator delete(v9);
}
v11 = *(char **)(v4 - 224);
if ( v11 )
{
v12 = *(char **)(v4 - 216);
if ( v11 != v12 )
*(_QWORD *)(v4 - 216) = &v12[8 * ~((unsigned __int64)(v12 - 8 - v11) >> 3)];
operator delete(v11);
}
v13 = *(char **)(v4 - 248);
if ( v13 )
{
v14 = *(char **)(v4 - 240);
if ( v13 != v14 )
*(_QWORD *)(v4 - 240) = &v14[8 * ~((unsigned __int64)(v14 - 8 - v13) >> 3)];
operator delete(v13);
}
v15 = *(char **)(v4 - 320);
if ( v15 )
{
v16 = *(char **)(v4 - 312);
if ( v15 != v16 )
*(_QWORD *)(v4 - 312) = &v16[8 * ~((unsigned __int64)(v16 - 8 - v15) >> 3)];
operator delete(v15);
}
v17 = *(char **)(v4 - 344);
if ( v17 )
{
v18 = *(char **)(v4 - 336);
if ( v17 != v18 )
*(_QWORD *)(v4 - 336) = &v18[8 * ~((unsigned __int64)(v18 - 8 - v17) >> 3)];
operator delete(v17);
}
v19 = *(char **)(v4 - 368);
if ( v19 )
{
v20 = *(char **)(v4 - 360);
if ( v19 != v20 )
*(_QWORD *)(v4 - 360) = &v20[8 * ~((unsigned __int64)(v20 - 8 - v19) >> 3)];
operator delete(v19);
}
v21 = *(char **)(v4 - 392);
if ( v21 )
{
v22 = *(char **)(v4 - 384);
if ( v21 != v22 )
*(_QWORD *)(v4 - 384) = &v22[8 * ~((unsigned __int64)(v22 - 8 - v21) >> 3)];
operator delete(v21);
}
v23 = *(_BYTE **)(v4 - 416);
if ( v23 )
{
v24 = (void **)(v4 - 408);
if ( v23 != *v24 )
*v24 = (char *)*v24 + 8 * ~((unsigned __int64)((char *)*v24 - 8 - v23) >> 3);
operator delete(v23);
}
}
v25 = *((_QWORD *)this + 61);
v26 = *((_QWORD *)this + 62);
if ( v25 != v26 )
*((_QWORD *)this + 62) = v26 + 4 * ~((unsigned __int64)(v26 - 4 - v25) >> 2);
*((_QWORD *)this + 59) = 0;
*((_BYTE *)this + 512) = 0;
*((_DWORD *)this + 129) = 0;
*((_DWORD *)this + 116) = 0;
*((_DWORD *)this + 117) = 0;
*((_DWORD *)this + 120) = 0;
return 0.0;
}