//
// LocalLevelManager::getAllLevelsWithName from 0x432cfc to 0x432d70 (116 bytes)
//
// 1 xrefs:
// > EditLevelLayer::verifyLevelName @ 0x3b7d06
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCArray *__fastcall LocalLevelManager::getAllLevelsWithName(int a1, int a2, int a3)
{
unsigned int v5; // r5
cocos2d::CCArray *v6; // r7
cocos2d::CCObject *v7; // r9
int v8; // r11
_DWORD v10[3]; // [sp+0h] [bp-Ch] BYREF
v10[0] = a1;
v10[1] = a2;
v10[2] = a3;
v5 = 0;
v6 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);
while ( v5 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 272)) )
{
v7 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 272), v5);
sub_775C20(v10);
v8 = sub_774DBC(v10, a2);
sub_774008(v10);
if ( !v8 )
cocos2d::CCArray::addObject(v6, v7);
++v5;
}
return v6;
}