//
// GameLevelManager::getLowestLevelOrder from 0x1000975e4 to 0x100097620 (60 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::downloadLevel @ 0x100026cf8
// > LevelInfoLayer::FLAlert_Clicked @ 0x10002ad3c
//
// 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
//
int __fastcall GameLevelManager::getLowestLevelOrder(GameLevelManager *a1)
{
cocos2d::CCDictionary *m_onlineLevels; // x8
cocos2d::CCDictElement *m_pElements; // x8
int result; // w0
cocos2d::CCDictElement *next; // x9
int m_uID; // w8
m_onlineLevels = a1->m_onlineLevels;
if ( !m_onlineLevels )
return 0;
m_pElements = m_onlineLevels->m_pElements;
if ( !m_pElements )
return 0;
result = 0;
do
{
next = (cocos2d::CCDictElement *)m_pElements->hh.next;
m_uID = m_pElements->m_pObject[11].m_uID;
if ( m_uID < result )
result = m_uID;
m_pElements = next;
}
while ( next );
return result;
}