// // GameLevelManager::responseToDict from 0x14016ab90 to 0x14016ae28 (664 bytes) // // 16 xrefs: // > GameLevelManager::createAndGetLevels @ 0x1401468dd // > GameLevelManager::createAndGetLevelLists @ 0x140146e1d // > GameLevelManager::createAndGetMapPacks @ 0x1401470bd // > GameLevelManager::createAndGetScores @ 0x14014735d // > GameLevelManager::processOnDownloadLevelCompleted @ 0x140152b00 // > GameLevelManager::onGetTopArtistsCompleted @ 0x140159649 // > GameLevelManager::onGetGJUserInfoCompleted @ 0x14015a0f3 // > GameLevelManager::onGetUserMessagesCompleted @ 0x14015a887 // > GameLevelManager::onDownloadUserMessageCompleted @ 0x14015adb1 // > GameLevelManager::createAndGetCommentsFull @ 0x14015d25a // > GameLevelManager::createAndGetCommentsFull @ 0x14015d314 // > GameLevelManager::createAndGetCommentsFull @ 0x14015d4b9 // > GameLevelManager::onGetFriendRequestsCompleted @ 0x14016038e // > GameLevelManager::onGetUserListCompleted @ 0x140162ec9 // > GJMultiplayerManager::addComment @ 0x140283d88 // > @ 0x1406cad7c // // 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 // // Hidden C++ exception states: #wind=4 __int64 __fastcall GameLevelManager::responseToDict(_QWORD *a1, char a2) { __int64 v4; // r12 _BYTE *v5; // rdx size_t v6; // r8 cocos2d::CCArray *v7; // r14 void *v8; // rcx size_t v9; // r8 void *v10; // rcx unsigned int v11; // edi cocos2d::CCString *v12; // rax const char *CString; // rbx struct cocos2d::CCObject *v14; // r15 size_t v15; // r8 void *v16; // rcx void *Block[2]; // [rsp+28h] [rbp-31h] BYREF __m128i v19; // [rsp+38h] [rbp-21h] void *v20[2]; // [rsp+48h] [rbp-11h] BYREF __m128i si128; // [rsp+58h] [rbp-1h] __int128 v22; // [rsp+68h] [rbp+Fh] BYREF __int64 v23; // [rsp+78h] [rbp+1Fh] unsigned __int64 v24; // [rsp+80h] [rbp+27h] v4 = cocos2d::CCDictionary::create(a1); v5 = a1; if ( a2 ) { if ( a1[3] > 0xFu ) v5 = (_BYTE *)*a1; *(_OWORD *)v20 = 0; si128 = 0; v9 = -1; do ++v9; while ( v5[v9] ); sub_14003A930(v20, v5, v9); v7 = sub_140140F70((__int64 *)v20, byte_14053CC70); 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 ) invalid_parameter_noinfo_noreturn(); } j_j_free(v10); } si128 = _mm_load_si128((const __m128i *)&xmmword_140623F30); 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_14003A930(Block, v5, v6); v7 = sub_140140F70((__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 ) invalid_parameter_noinfo_noreturn(); } j_j_free(v8); } v19 = _mm_load_si128((const __m128i *)&xmmword_140623F30); LOBYTE(Block[0]) = 0; } if ( cocos2d::CCArray::count(v7) > 1 ) { v11 = 1; do { v12 = (cocos2d::CCString *)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; v24 = 0; v15 = -1; do ++v15; while ( CString[v15] ); sub_14003A930(&v22, CString, v15); cocos2d::CCDictionary::setObject(v4, v14, &v22); if ( v24 > 0xF ) { v16 = (void *)v22; if ( v24 + 1 >= 0x1000 ) { v16 = *(void **)(v22 - 8); if ( (unsigned __int64)(v22 - (_QWORD)v16 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v16); } } } v11 += 2; } while ( v11 < cocos2d::CCArray::count(v7) ); } sub_14003A830((__int64)a1); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source