// // GameLevelManager::updateUsernames from 0x10009a2f8 to 0x10009a3ac (180 bytes) // // 1 xrefs: // > GameLevelManager::dataLoaded @ 0x10009bbe0 // // 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 // void __fastcall GameLevelManager::updateUsernames(GameLevelManager *a1) { cocos2d::CCDictionary *m_onlineLevels; // x8 cocos2d::CCDictElement *m_pElements; // x20 cocos2d::CCObject *m_pObject; // x8 unsigned int m_uID; // w21 int m_nLuaID; // w23 unsigned int m_uReference; // w22 unsigned int m_uAutoReleaseCount; // w24 void *__p[2]; // [xsp+0h] [xbp-50h] BYREF __int64 v10; // [xsp+10h] [xbp-40h] m_onlineLevels = a1->m_onlineLevels; if ( m_onlineLevels ) { m_pElements = m_onlineLevels->m_pElements; while ( m_pElements ) { while ( 1 ) { m_pObject = m_pElements->m_pObject; m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next; m_uID = m_pObject[10].m_uID; m_nLuaID = m_pObject[10].m_nLuaID; m_uReference = m_pObject[10].m_uReference; m_uAutoReleaseCount = m_pObject[10].m_uAutoReleaseCount; if ( SHIBYTE(m_pObject[7].m_nZOrder) < 0 ) { sub_1000097D0(__p, *(void **)&m_pObject[7].m_uAutoReleaseCount, *(_QWORD *)&m_pObject[7].m_uIndexInArray); } else { *(_OWORD *)__p = *(_OWORD *)&m_pObject[7].m_uAutoReleaseCount; v10 = *(_QWORD *)&m_pObject[7].m_unknown2; } GameLevelManager::storeUserName(a1, m_uID - m_nLuaID, m_uReference - m_uAutoReleaseCount, (char *)__p); if ( SHIBYTE(v10) < 0 ) break; if ( !m_pElements ) return; } operator delete(__p[0]); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source