// // GameLevelManager::deleteServerLevel from 0x4bc80c to 0x4bca1a (526 bytes) // // 1 xrefs: // > LevelInfoLayer::startServerDelete @ 0x49a18c // // 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:18 +0000 // cocos2d::CCNode *__fastcall GameLevelManager::deleteServerLevel( GameLevelManager *a1, const char *a2, unsigned __int8 *a3, _DWORD *a4) { const char *LevelKey; // r0 int v8; // r10 const char *v9; // r7 size_t v10; // r0 int v11; // r5 cocos2d::CCNode *result; // r0 int v13; // r10 cocos2d::CCObject *v14; // r0 cocos2d::CCObject *v15; // r11 size_t v16; // r0 cocos2d::CCString *v17; // r0 const char *CString; // r11 size_t v19; // r0 char *v20; // r2 cocos2d::CCString *v21; // r0 char *v22; // r0 size_t v23; // r0 const char *v24; // r1 size_t v25; // r0 size_t v26; // r0 const char *v28; // [sp+1Ch] [bp-58h] int v29[2]; // [sp+24h] [bp-50h] BYREF char *v30; // [sp+2Ch] [bp-48h] int v31[2]; // [sp+30h] [bp-44h] BYREF char *v32; // [sp+38h] [bp-3Ch] char *v33[3]; // [sp+3Ch] [bp-38h] BYREF int v34[3]; // [sp+48h] [bp-2Ch] BYREF int v35[3]; // [sp+54h] [bp-20h] BYREF int v36; // [sp+60h] [bp-14h] BYREF int v37; // [sp+64h] [bp-10h] int v38; // [sp+68h] [bp-Ch] LevelKey = (const char *)GameLevelManager::getLevelKey(a1, a2); v36 = 0; v37 = 0; v38 = 0; v8 = *((_DWORD *)a1 + 187); v9 = LevelKey; v10 = strlen(LevelKey); std::string::__init(&v36, v9, v10); v11 = cocos2d::CCDictionary::objectForKey(v8, &v36); result = (cocos2d::CCNode *)std::string::~string((int)&v36); if ( !v11 ) { v13 = *((_DWORD *)a1 + 187); v14 = (cocos2d::CCObject *)cocos2d::CCNode::create(result); v36 = 0; v37 = 0; v38 = 0; v15 = v14; v16 = strlen(v9); std::string::__init(&v36, v9, v16); cocos2d::CCDictionary::setObject(v13, v15); std::string::~string((int)&v36); v17 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfv", "2898", 103, 99, &a1i2r3e45s789g[11]); v29[0] = 0; v29[1] = 0; v30 = nullptr; CString = (const char *)cocos2d::CCString::getCString(v17); v19 = strlen(CString); std::string::__init(v29, CString, v19); v31[0] = 0; v31[1] = 0; v32 = nullptr; std::string::__init(v31, "https://www.boomlings.com/database/deleteGJLevelUser20.php", 0x3Au); GameLevelManager::getBasePostString((GameLevelManager *)v33); if ( (v29[0] & 1) != 0 ) v20 = v30; else v20 = (char *)v29 + 1; v21 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&levelID=%i&secret=%s", a2, v20); v22 = (char *)cocos2d::CCString::getCString(v21); std::string::append(v33, v22); GameLevelManager::appendModReason((int)a1, v33, a3, a4); if ( (v31[0] & 1) == 0 ) a3 = (unsigned __int8 *)v31 + 1; v34[0] = 0; if ( (v31[0] & 1) != 0 ) a3 = (unsigned __int8 *)v32; v34[1] = 0; v34[2] = 0; v23 = strlen((const char *)a3); std::string::__init(v34, a3, v23); if ( ((int)v33[0] & 1) == 0 ) v24 = (char *)v33 + 1; v35[0] = 0; if ( ((int)v33[0] & 1) != 0 ) v24 = v33[2]; v35[1] = 0; v35[2] = 0; v28 = v24; v25 = strlen(v24); std::string::__init(v35, v28, v25); v36 = 0; v37 = 0; v38 = 0; v26 = strlen(v9); std::string::__init(&v36, v9, v26); GameLevelManager::ProcessHttpRequest(a1, v34, (int)v35, (int)&v36, 7); std::string::~string((int)&v36); std::string::~string((int)v35); std::string::~string((int)v34); std::string::~string((int)v33); std::string::~string((int)v31); return (cocos2d::CCNode *)std::string::~string((int)v29); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source