// // GameLevelManager::deleteServerLevelList from 0x4d06c0 to 0x4d0880 (448 bytes) // // 1 xrefs: // > LevelListLayer::startServerDelete @ 0x6d4f1c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:50:46 +0000 // int __fastcall GameLevelManager::deleteServerLevelList(GameManager *a1, int a2, unsigned __int8 *a3, _DWORD *a4) { int **v6; // r10 const char *v7; // r8 cocos2d::CCString *v9; // r0 const char *CString; // r11 size_t v11; // r0 char *v12; // r2 cocos2d::CCString *v13; // r0 char *v14; // r0 size_t v15; // r0 size_t v16; // r0 char v18[8]; // [sp+18h] [bp-64h] BYREF unsigned __int8 v19[12]; // [sp+20h] [bp-5Ch] BYREF int v20[2]; // [sp+2Ch] [bp-50h] BYREF char *v21; // [sp+34h] [bp-48h] int v22[2]; // [sp+38h] [bp-44h] BYREF char *v23; // [sp+40h] [bp-3Ch] char *v24[3]; // [sp+44h] [bp-38h] BYREF int v25[3]; // [sp+50h] [bp-2Ch] BYREF int v26[3]; // [sp+5Ch] [bp-20h] BYREF int v27[3]; // [sp+68h] [bp-14h] BYREF v6 = (int **)((char *)a1 + 524); v7 = (const char *)a2; GameToolbox::intToString((GameToolbox *)v19, a2); if ( !std::__tree::__count_unique((int)v6, v19) ) { std::__tree::__emplace_unique_key_args((int)v18, v6, v19, (int)v19); v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfv", "2898", 103, 99, &a1i2r3e45s789g[11]); CString = (const char *)cocos2d::CCString::getCString(v9); v20[0] = 0; v20[1] = 0; v21 = nullptr; v11 = strlen(CString); std::string::__init(v20, CString, v11); v22[0] = 0; v22[1] = 0; v23 = nullptr; std::string::__init(v22, "https://www.boomlings.com/database/deleteGJLevelList.php", 0x38u); GameLevelManager::getBasePostString((GameLevelManager *)v24); if ( (v20[0] & 1) != 0 ) v12 = v21; else v12 = (char *)v20 + 1; v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"&listID=%i&secret=%s", v7, v12); v14 = (char *)cocos2d::CCString::getCString(v13); std::string::append(v24, v14); GameLevelManager::appendModReason((int)a1, v24, a3, a4); if ( (v22[0] & 1) == 0 ) a3 = (unsigned __int8 *)v22 + 1; v25[0] = 0; if ( (v22[0] & 1) != 0 ) a3 = (unsigned __int8 *)v23; v25[1] = 0; v25[2] = 0; v15 = strlen((const char *)a3); std::string::__init(v25, a3, v15); if ( ((int)v24[0] & 1) == 0 ) v7 = (char *)v24 + 1; v26[0] = 0; if ( ((int)v24[0] & 1) != 0 ) v7 = v24[2]; v26[1] = 0; v26[2] = 0; v16 = strlen(v7); std::string::__init(v26, v7, v16); std::string::basic_string(v27, (int)v19); GameLevelManager::ProcessHttpRequest(a1, v25, (int)v26, (int)v27, 68); std::string::~string((int)v27); std::string::~string((int)v26); std::string::~string((int)v25); std::string::~string((int)v24); std::string::~string((int)v22); std::string::~string((int)v20); } return std::string::~string((int)v19); }
GD Web Decomp Icon

GD Web Decomp

Raw Source