// // GameLevelManager::storeSearchResult from 0x6f2930 to 0x6f2b98 (616 bytes) // // 9 xrefs: // > GameLevelManager::onGetTopArtistsCompleted @ 0x700d08 // > GameLevelManager::onGetOnlineLevelsCompleted @ 0x705704 // > GameLevelManager::onGetMapPacksCompleted @ 0x70d91c // > GameLevelManager::onGetGauntletsCompleted @ 0x70e18c // > GameLevelManager::onGetLeaderboardScoresCompleted @ 0x711834 // > GameLevelManager::onGetUsersCompleted @ 0x711ccc // > GameLevelManager::onGetLevelLeaderboardCompleted @ 0x71a024 // > GameLevelManager::onGetLevelListsCompleted @ 0x730128 // > @ 0x2d060 // // 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 // __int64 __fastcall GameLevelManager::storeSearchResult( GameLevelManager *a1, cocos2d::CCObject *a2, char **a3, char *a4) { cocos2d::CCDictionary *m_storedLevels; // x24 void *v9; // x0 char *v10; // x1 cocos2d::CCDictionary *m_pageInfo; // x25 const std::string *v12; // x1 cocos2d::CCObject *v13; // x23 void *v14; // x0 void *v15; // x0 unsigned int *v17; // x1 int v18; // w2 unsigned int *v19; // x1 int v20; // w2 unsigned int *v21; // x1 int v22; // w2 __int64 v23; // [xsp+0h] [xbp+0h] BYREF __int64 v24; // [xsp+68h] [xbp+68h] BYREF __int64 v25; // [xsp+70h] [xbp+70h] BYREF if ( a2 ) { GameLevelManager::makeTimeStamp(a1, a4); m_storedLevels = a1->m_storedLevels; sub_D153B8((unsigned int)&v23 + 112, a4); cocos2d::CCDictionary::setObject((int)m_storedLevels, a2); v9 = (void *)(v25 - 24); if ( (__int64 *)(v25 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v17 = (unsigned int *)(v25 - 8); do v18 = __ldaxr(v17); while ( __stlxr(v18 - 1, v17) ); } else { v18 = *(_DWORD *)(v25 - 8); *(_DWORD *)(v25 - 8) = v18 - 1; } if ( v18 <= 0 ) operator delete(v9); } v10 = *a3; m_pageInfo = a1->m_pageInfo; sub_D153B8((int)&v24, v10); v13 = (cocos2d::CCObject *)cocos2d::CCString::create((cocos2d::CCString *)&v24, v12); sub_D153B8((int)&v25, a4); cocos2d::CCDictionary::setObject((int)m_pageInfo, v13); v14 = (void *)(v25 - 24); if ( (__int64 *)(v25 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v19 = (unsigned int *)(v25 - 8); do v20 = __ldaxr(v19); while ( __stlxr(v20 - 1, v19) ); } else { v20 = *(_DWORD *)(v25 - 8); *(_DWORD *)(v25 - 8) = v20 - 1; } if ( v20 <= 0 ) operator delete(v14); } v15 = (void *)(v24 - 24); if ( (__int64 *)(v24 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v21 = (unsigned int *)(v24 - 8); do v22 = __ldaxr(v21); while ( __stlxr(v22 - 1, v21) ); } else { v22 = *(_DWORD *)(v24 - 8); *(_DWORD *)(v24 - 8) = v22 - 1; } if ( v22 <= 0 ) operator delete(v15); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source