// // GameLevelManager::responseToDict from 0x140261840 to 0x140261b3f (767 bytes) // // 21 xrefs: // > GameLevelManager::createAndGetLevels @ 0x14021e335 // > GameLevelManager::createAndGetLevelLists @ 0x14021e8a5 // > GameLevelManager::createAndGetMapPacks @ 0x14021eb75 // > GameLevelManager::createAndGetScores @ 0x14021ee39 // > GameLevelManager::onDownloadEditorSoundCompleted @ 0x14022fa48 // > GameLevelManager::createAndGetEditorSoundConfigs @ 0x1402309ae // > GameLevelManager::processOnDownloadLevelCompleted @ 0x140232a57 // > GameLevelManager::onGetTopArtistsCompleted @ 0x140239dfa // > GameLevelManager::onGetGJUserInfoCompleted @ 0x14023a908 // > GameLevelManager::onGetUserMessagesCompleted @ 0x14023b195 // > GameLevelManager::onDownloadUserMessageCompleted @ 0x14023b6d1 // > GameLevelManager::createAndGetCommentsFull @ 0x14023d8ef // > GameLevelManager::createAndGetCommentsFull @ 0x14023d9a1 // > GameLevelManager::createAndGetCommentsFull @ 0x14023db48 // > GameLevelManager::storeThreadManifest @ 0x14024d8f8 // > GameLevelManager::onGetNotificationsCompleted @ 0x14024ffde // > GameLevelManager::onGetUserSearchCompleted @ 0x140253789 // > GameLevelManager::onGetFriendRequestsCompleted @ 0x14025489e // > GameLevelManager::onGetUserListCompleted @ 0x140257969 // > GJMultiplayerManager::addComment @ 0x140391a48 // > @ 0x14091c814 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:28:48 +0000 // // Hidden C++ exception states: #wind=4 __int64 __fastcall GameLevelManager::responseToDict(_QWORD *a1, char a2) { __int64 v4; // r15 _BYTE *v5; // rdx size_t v6; // r8 cocos2d::CCArray *v7; // rbp void *v8; // r8 size_t v9; // r8 void *v10; // rcx unsigned int v11; // edi cocos2d::CCString *v12; // rax const char *CString; // rbx struct cocos2d::CCObject *v14; // r14 size_t v15; // r8 void *v16; // rcx void *Block[2]; // [rsp+38h] [rbp-80h] BYREF __m128i v19; // [rsp+48h] [rbp-70h] void *v20[2]; // [rsp+58h] [rbp-60h] BYREF __m128i si128; // [rsp+68h] [rbp-50h] __int128 v22; // [rsp+78h] [rbp-40h] BYREF __int128 v23; // [rsp+88h] [rbp-30h] v4 = cocos2d::CCDictionary::create(); v5 = a1; if ( a2 ) { if ( a1[3] > 0xFu ) v5 = (_BYTE *)*a1; *(_OWORD *)v20 = 0; si128 = 0; v9 = -1; do ++v9; while ( v5[v9] ); sub_14003D230(v20, v5, v9); v7 = sub_1400D2840((__int64 *)v20, "~"); if ( si128.m128i_i64[1] > 0xFuLL ) { v10 = v20[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v10 = *((void **)v20[0] - 1); if ( (unsigned __int64)((char *)v20[0] - (char *)v10 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v10); } si128 = _mm_load_si128((const __m128i *)&Size); LOBYTE(v20[0]) = 0; } else { if ( a1[3] > 0xFu ) v5 = (_BYTE *)*a1; *(_OWORD *)Block = 0; v19 = 0; v6 = -1; do ++v6; while ( v5[v6] ); sub_14003D230(Block, v5, v6); v7 = sub_1400D2840((__int64 *)Block, ":"); if ( v19.m128i_i64[1] > 0xFuLL ) { v8 = Block[0]; if ( (unsigned __int64)(v19.m128i_i64[1] + 1) >= 0x1000 ) { v8 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v8); } v19 = _mm_load_si128((const __m128i *)&Size); LOBYTE(Block[0]) = 0; } if ( cocos2d::CCArray::count(v7) > 1 ) { v11 = 1; do { v12 = cocos2d::CCArray::objectAtIndex(v7, v11 - 1); CString = cocos2d::CCString::getCString(v12); v14 = cocos2d::CCArray::objectAtIndex(v7, v11); if ( v14 ) { if ( CString ) { v22 = 0; v23 = 0; v15 = -1; do ++v15; while ( CString[v15] ); sub_14003D230(&v22, CString, v15); cocos2d::CCDictionary::setObject(v4, v14, &v22); if ( *((_QWORD *)&v23 + 1) > 0xFu ) { v16 = (void *)v22; if ( (unsigned __int64)(*((_QWORD *)&v23 + 1) + 1LL) >= 0x1000 ) { v16 = *(void **)(v22 - 8); if ( (unsigned __int64)(v22 - (_QWORD)v16 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v16); } } } v11 += 2; } while ( v11 < cocos2d::CCArray::count(v7) ); } sub_14003D310((__int64)a1); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source