//
// EditorSFXManager::clearAll from 0x77d674 to 0x77d71e (170 bytes)
//
// 5 xrefs:
// > EditorSFXManager::firstSetup @ 0x77d722
// > EditorSFXManager::~EditorSFXManager @ 0x77d7b8
// > EditorSFXManager::dataLoaded @ 0x77fa66
// > EditorSFXManager::deserializeAll @ 0x780924
// > EditorSoundsSettingsPopup::FLAlert_Clicked @ 0x78b73c
//
// 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:59:24 +0000
//
void __fastcall EditorSFXManager::clearAll(EditorSFXManager *this)
{
_DWORD *i; // r5
_DWORD *j; // r0
_DWORD *v4; // r5
_DWORD *v5; // r3
_DWORD *k; // r0
_DWORD *v7; // r5
_DWORD *v8; // r3
_DWORD *m; // r0
_DWORD *v10; // r5
_DWORD *v11; // r3
for ( i = *((_DWORD **)this + 2); i; i = (_DWORD *)*i )
EditorSFXManager::releaseBinding((int)this, i[3]);
if ( *((_DWORD *)this + 3) )
{
for ( j = *((_DWORD **)this + 2); j; j = v4 )
{
v4 = (_DWORD *)*j;
operator delete(j);
}
v5 = *((_DWORD **)this + 1);
*((_DWORD *)this + 2) = 0;
while ( j != v5 )
{
*(_DWORD *)(*(_DWORD *)this + 4 * (_DWORD)j) = 0;
j = (_DWORD *)((char *)j + 1);
}
*((_DWORD *)this + 3) = 0;
}
if ( *((_DWORD *)this + 8) )
{
for ( k = *((_DWORD **)this + 7); k; k = v7 )
{
v7 = (_DWORD *)*k;
operator delete(k);
}
v8 = *((_DWORD **)this + 6);
*((_DWORD *)this + 7) = 0;
while ( k != v8 )
{
*(_DWORD *)(*((_DWORD *)this + 5) + 4 * (_DWORD)k) = 0;
k = (_DWORD *)((char *)k + 1);
}
*((_DWORD *)this + 8) = 0;
}
if ( *((_DWORD *)this + 13) )
{
for ( m = *((_DWORD **)this + 12); m; m = v10 )
{
v10 = (_DWORD *)*m;
operator delete(m);
}
v11 = *((_DWORD **)this + 11);
*((_DWORD *)this + 12) = 0;
while ( m != v11 )
{
*(_DWORD *)(*((_DWORD *)this + 10) + 4 * (_DWORD)m) = 0;
m = (_DWORD *)((char *)m + 1);
}
*((_DWORD *)this + 13) = 0;
}
std::__tree,std::string>,std::__map_value_compare,std::__value_type,std::string>,std::less>,true>,std::allocator,std::string>>>::destroy(
(int)this + 60,
*((_DWORD **)this + 16));
*((_DWORD *)this + 17) = 0;
*((_DWORD *)this + 15) = (char *)this + 64;
*((_DWORD *)this + 16) = 0;
}