//
// EditorSFXManager::getMyConfig from 0xcbfd4c to 0xcbfdd0 (132 bytes)
//
// 4 xrefs:
// > EditorSFXManager::attachUploadedSoundID @ 0xcbfef0
// > EditorSFXManager::overwriteMyConfigFromLive @ 0xcc3c28
// > EditorSFXManager::applyMyConfig @ 0xcc79a0
// > ??> @ 0x8a670
//
// 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:06:16 +0000
//
__int64 __fastcall EditorSFXManager::getMyConfig(EditorSFXManager *this, int a2)
{
cocos2d::CCArray *v3; // x0
int v5; // w0
unsigned int v6; // w1
unsigned int v7; // w19
__int64 result; // x0
bool v9; // cf
v3 = *((cocos2d::CCArray **)this + 19);
if ( a2 <= 0 )
return 0;
if ( !v3 )
return 0;
v5 = cocos2d::CCArray::count(v3);
v6 = 0;
v7 = 1;
if ( !v5 )
return 0;
while ( 1 )
{
result = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 19), v6);
if ( result )
{
if ( a2 == *(_DWORD *)(result + 320) )
break;
}
v9 = v7 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 19));
v6 = v7++;
if ( v9 )
return 0;
}
return result;
}