// // GameLevelManager::deleteServerLevelList from 0x14022d7a0 to 0x14022dafd (861 bytes) // // 2 xrefs: // > LevelListLayer::startServerDelete @ 0x1404307c5 // > @ 0x14091be30 // // 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:29 +0000 // // Hidden C++ exception states: #wind=6 void __fastcall GameLevelManager::deleteServerLevelList(__int64 a1, unsigned int a2, __int64 a3, __int64 a4) { __int64 *v8; // rdi __int64 *v9; // rbx unsigned int v10; // eax __int64 *v11; // rcx __int64 *v12; // rcx cocos2d::CCString *v13; // rax const char *CString; // rax size_t v15; // rbx size_t v16; // r8 _QWORD *v17; // rdi __int64 v18; // rcx void **v19; // r8 cocos2d::CCString *v20; // rax char *v21; // rax size_t v22; // r8 __int64 v23; // rcx const char *v24; // rsi _QWORD *v25; // rdx size_t v26; // r8 void *v27; // rcx void *v28; // rcx __int128 v29; // [rsp+40h] [rbp-C0h] BYREF __int64 v30; // [rsp+50h] [rbp-B0h] __int64 v31; // [rsp+58h] [rbp-A8h] __int128 v32; // [rsp+60h] [rbp-A0h] BYREF __int64 v33; // [rsp+70h] [rbp-90h] __int64 v34; // [rsp+78h] [rbp-88h] _BYTE *v35; // [rsp+80h] [rbp-80h] __int128 *v36; // [rsp+88h] [rbp-78h] _BYTE v37[16]; // [rsp+90h] [rbp-70h] BYREF _BYTE v38[32]; // [rsp+A0h] [rbp-60h] BYREF void *v39[2]; // [rsp+C0h] [rbp-40h] BYREF __m128i v40; // [rsp+D0h] [rbp-30h] _QWORD Src[4]; // [rsp+E0h] [rbp-20h] BYREF _QWORD Buf2[4]; // [rsp+100h] [rbp+0h] BYREF void *Block[2]; // [rsp+120h] [rbp+20h] __m128i si128; // [rsp+130h] [rbp+30h] GameToolbox::intToString(Buf2, a2); v8 = *(__int64 **)(a1 + 824); v9 = (__int64 *)v8[1]; if ( !*((_BYTE *)v9 + 25) ) { do { v10 = (unsigned int)sub_14003D160(v9 + 4, Buf2) >> 31; v11 = v9; if ( (_BYTE)v10 ) v11 = v8; v8 = v11; v12 = v9 + 2; if ( !(_BYTE)v10 ) v12 = v9; v9 = (__int64 *)*v12; } while ( !*(_BYTE *)(*v12 + 25) ); } if ( *((_BYTE *)v8 + 25) || sub_14003D160(Buf2, v8 + 4) < 0 ) { sub_1400CF4B0((__int64 *)(a1 + 824), (__int64)v37, Buf2); v13 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 87, "mfv", "2898", 103, 99, "9"); CString = cocos2d::CCString::getCString(v13); *(_OWORD *)v39 = 0; v40 = 0; v15 = -1; v16 = -1; do ++v16; while ( CString[v16] ); sub_14003D230(v39, CString, v16); *(_OWORD *)Block = 0; v17 = sub_14003D460(0x40u); Block[0] = v17; si128 = _mm_load_si128((const __m128i *)&xmmword_1408366C0); strcpy((char *)v17, "https://www.boomlings.com/database/deleteGJLevelList.php"); GameLevelManager::getBasePostString(v18, Src); v19 = v39; if ( v40.m128i_i64[1] > 0xFuLL ) v19 = (void **)v39[0]; v20 = cocos2d::CCString::createWithFormat("&listID=%i&secret=%s", a2, (const char *)v19); v21 = (char *)cocos2d::CCString::getCString(v20); v22 = -1; do ++v22; while ( v21[v22] ); sub_140044D80(Src, v21, v22); GameLevelManager::appendModReason(v23, Src, a3, a4); v35 = v38; v36 = &v29; v24 = (const char *)sub_14003F4F0((__int64)v38, (__int64)Buf2); v25 = Src; if ( Src[3] > 0xFu ) v25 = (_QWORD *)Src[0]; v29 = 0; v30 = 0; v31 = 0; v26 = -1; do ++v26; while ( *((_BYTE *)v25 + v26) ); sub_14003D230(&v29, v25, v26); v32 = 0; v33 = 0; v34 = 0; do ++v15; while ( *((_BYTE *)v17 + v15) ); sub_14003D230(&v32, v17, v15); GameLevelManager::ProcessHttpRequest((cocos2d::CCActionManager **)a1, (__int64)&v32, (const char *)&v29, v24, 0x44u); sub_14003D310((__int64)Src); if ( si128.m128i_i64[1] > 0xFuLL ) { v27 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v27 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v27 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v27); } if ( v40.m128i_i64[1] > 0xFuLL ) { v28 = v39[0]; if ( (unsigned __int64)(v40.m128i_i64[1] + 1) >= 0x1000 ) { v28 = *((void **)v39[0] - 1); if ( (unsigned __int64)((char *)v39[0] - (char *)v28 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v28); } v40 = _mm_load_si128((const __m128i *)&Size); LOBYTE(v39[0]) = 0; } sub_14003D310((__int64)Buf2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source