//
// EditorSFXManager::removeMyConfig from 0x77d560 to 0x77d5a2 (66 bytes)
//
// 1 xrefs:
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x7889a2
//
// 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
//
unsigned int __fastcall EditorSFXManager::removeMyConfig(unsigned int this, int a2)
{
unsigned int v2; // r5
unsigned int i; // r4
int v5; // r0
v2 = this;
if ( *(_DWORD *)(this + 76) && a2 > 0 )
{
for ( i = 0; ; ++i )
{
this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 76));
if ( i >= this )
break;
v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v2 + 76), i);
if ( v5 && *(_DWORD *)(v5 + 268) == a2 )
return cocos2d::CCArray::removeObjectAtIndex(*(cocos2d::CCArray **)(v2 + 76), i, 1);
}
}
return this;
}