// // GameLevelManager::updateUsernames from 0x6f3658 to 0x6f37a4 (332 bytes) // // 2 xrefs: // > GameLevelManager::dataLoaded @ 0x73a560 // > @ 0x2bce0 // // 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 GameLevelManager::updateUsernames(GameLevelManager *a1) { cocos2d::CCDictionary *m_onlineLevels; // x0 cocos2d::CCDictElement *m_pElements; // x0 cocos2d::CCDictElement *i; // x19 cocos2d::CCObject *m_pObject; // x3 int v6; // w26 char *v7; // x0 unsigned int *v8; // x1 int v9; // w2 int v10; // [xsp+58h] [xbp+58h] char *v11; // [xsp+70h] [xbp+70h] BYREF m_onlineLevels = a1->m_onlineLevels; if ( m_onlineLevels ) { m_pElements = m_onlineLevels->m_pElements; if ( m_pElements ) { for ( i = (cocos2d::CCDictElement *)m_pElements->hh.next; ; i = (cocos2d::CCDictElement *)i->hh.next ) { m_pObject = m_pElements->m_pObject; v6 = m_pObject[7].m_uIndexInArray - m_pObject[7].m_uUnknown; v10 = m_pObject[7].m_nZOrder - m_pObject[7].m_uOrderOfArrival; sub_D18D28(&v11, &m_pObject[6].m_uIndexInArray); GameLevelManager::storeUserName(a1, v6, v10, &v11); v7 = v11 - 24; if ( v11 - 24 == (char *)&qword_124B6B0 ) goto LABEL_5; if ( &pthread_create ) { v8 = (unsigned int *)(v11 - 8); do v9 = __ldaxr(v8); while ( __stlxr(v9 - 1, v8) ); } else { v9 = *((_DWORD *)v11 - 2); *((_DWORD *)v11 - 2) = v9 - 1; } if ( v9 > 0 ) { LABEL_5: if ( !i ) return; } else { operator delete(v7); if ( !i ) return; } m_pElements = i; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source