// // GameLevelManager::getHighestLevelOrder from 0x1000975a8 to 0x1000975e4 (60 bytes) // // 2 xrefs: // > LevelInfoLayer::downloadLevel @ 0x100026d08 // > LevelInfoLayer::FLAlert_Clicked @ 0x10002ae20 // // 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::getHighestLevelOrder(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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source