//
// LocalLevelManager::getAllLevelsInDict from 0x432c6c to 0x432cf8 (140 bytes)
//
// 2 xrefs:
// > GameLevelManager::getNextLevelName @ 0x3bf044
// > GameLevelManager::createNewLevel @ 0x3c532c
//
// 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::CCDictionary *LocalLevelManager::getAllLevelsInDict(LocalLevelManager *a1)
{
unsigned int v2; // r6
cocos2d::CCDictionary *v3; // r8
cocos2d::CCObject *v4; // r10
int v6; // [sp+4h] [bp-4h] BYREF
char *v7; // [sp+8h] [bp+0h] BYREF
v2 = 0;
v3 = cocos2d::CCDictionary::create();
while ( v2 < cocos2d::CCArray::count(a1->m_localLevels) )
{
v4 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(a1->m_localLevels, v2);
sub_775C20(&v7);
sub_776584((int)&v6, v7);
sub_774008(&v7);
if ( *(_DWORD *)(v6 - 12) )
cocos2d::CCDictionary::setObject((int)v3, v4);
++v2;
sub_774008(&v6);
}
return v3;
}