// // GameLevelManager::deleteServerLevel from 0x83035c to 0x830798 (1084 bytes) // // 2 xrefs: // > LevelInfoLayer::startServerDelete @ 0x7e63fc // > @ 0xd26a0 // // This function is hookable on this platform (idp: arm, 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 12:55:08 +0000 // __int64 __fastcall GameLevelManager::deleteServerLevel(GameLevelManager *a1, const char *a2, char *a3, __int64 *a4) { unsigned int v7; // w27 char *LevelKey; // x24 size_t v9; // x0 size_t v10; // x19 __int64 v11; // x28 unsigned __int64 v12; // x0 char *v13; // x3 __int64 v14; // x19 cocos2d::CCNode *v15; // x0 __int64 v17; // x22 cocos2d::CCObject *v18; // x19 size_t v19; // x0 cocos2d::CCString *v20; // x0 const char *CString; // x0 size_t v22; // x0 char *v23; // x2 cocos2d::CCString *v24; // x0 size_t v25; // x0 const char *v26; // x1 size_t v27; // x0 const char *v28; // x1 size_t v29; // x0 size_t v30; // x0 char *v31; // [xsp+68h] [xbp+68h] char *v32; // [xsp+68h] [xbp+68h] char *v33; // [xsp+68h] [xbp+68h] char *v34; // [xsp+68h] [xbp+68h] __int64 v35[2]; // [xsp+78h] [xbp+78h] BYREF void *v36; // [xsp+88h] [xbp+88h] __int64 v37[2]; // [xsp+90h] [xbp+90h] BYREF void *v38; // [xsp+A0h] [xbp+A0h] __int64 v39[2]; // [xsp+A8h] [xbp+A8h] BYREF void *v40; // [xsp+B8h] [xbp+B8h] __int64 v41[2]; // [xsp+C0h] [xbp+C0h] BYREF void *v42; // [xsp+D0h] [xbp+D0h] __int64 v43[2]; // [xsp+D8h] [xbp+D8h] BYREF void *v44; // [xsp+E8h] [xbp+E8h] cocos2d::CCNode *v45; // [xsp+F0h] [xbp+F0h] BYREF size_t v46; // [xsp+F8h] [xbp+F8h] void *v47; // [xsp+100h] [xbp+100h] v7 = (unsigned int)a2; v45 = nullptr; LevelKey = (char *)GameLevelManager::getLevelKey(a1, a2); v46 = 0; v47 = nullptr; v9 = strlen(LevelKey); v10 = v9; v11 = *((_QWORD *)a1 + 136); if ( v9 > 0xFFFFFFFFFFFFFFEFLL ) sub_62C79C(); if ( v9 > 0x16 ) { v12 = (v9 + 16) & 0xFFFFFFFFFFFFFFF0LL; v45 = (cocos2d::CCNode *)(v12 | 1); v13 = (char *)operator new(v12); v47 = v13; v46 = v10; LABEL_4: v13 = (char *)memcpy(v13, LevelKey, v10); goto LABEL_5; } LOBYTE(v45) = 2 * v9; v13 = (char *)&v45 + 1; if ( v9 ) goto LABEL_4; LABEL_5: v13[v10] = 0; v14 = cocos2d::CCDictionary::objectForKey(v11, &v45); v15 = (cocos2d::CCNode *)(unsigned __int8)v45; if ( ((unsigned __int8)v45 & 1) != 0 ) operator delete(v47); if ( !v14 ) { v17 = *((_QWORD *)a1 + 136); v18 = (cocos2d::CCObject *)cocos2d::CCNode::create(v15); v45 = nullptr; v46 = 0; v47 = nullptr; v19 = strlen(LevelKey); std::string::__init((__int64 *)&v45, LevelKey, v19); cocos2d::CCDictionary::setObject(v17, v18); if ( ((unsigned __int8)v45 & 1) != 0 ) operator delete(v47); v20 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)off_50 + 7, "mfv", "2898", 103, 99, "9"); CString = (const char *)cocos2d::CCString::getCString(v20); v35[0] = 0; v31 = (char *)CString; v35[1] = 0; v36 = nullptr; v22 = strlen(CString); std::string::__init(v35, v31, v22); v37[0] = 0; v37[1] = 0; v38 = nullptr; std::string::__init(v37, "https://www.boomlings.com/database/deleteGJLevelUser20.php", 0x3Au); GameLevelManager::getBasePostString(v39); v23 = (char *)v35 + 1; if ( (v35[0] & 1) != 0 ) v23 = (char *)v36; v24 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&levelID=%i&secret=%s", (const char *)v7, v23); v32 = (char *)cocos2d::CCString::getCString(v24); v25 = strlen(v32); std::string::append((__int64)v39, v32, v25); GameLevelManager::appendModReason((int)a1, (__int64)v39, a3, a4); v26 = (char *)v37 + 1; if ( (v37[0] & 1) != 0 ) v26 = (const char *)v38; v33 = (char *)v26; v41[0] = 0; v41[1] = 0; v42 = nullptr; v27 = strlen(v26); std::string::__init(v41, v33, v27); v28 = (char *)v39 + 1; if ( (v39[0] & 1) != 0 ) v28 = (const char *)v40; v34 = (char *)v28; v43[0] = 0; v43[1] = 0; v44 = nullptr; v29 = strlen(v28); std::string::__init(v43, v34, v29); v45 = nullptr; v46 = 0; v47 = nullptr; v30 = strlen(LevelKey); std::string::__init((__int64 *)&v45, LevelKey, v30); GameLevelManager::ProcessHttpRequest(a1, v41, (__int64)v43, (char *)&v45, 7); if ( ((unsigned __int8)v45 & 1) != 0 ) operator delete(v47); if ( (v43[0] & 1) != 0 ) operator delete(v44); if ( (v41[0] & 1) != 0 ) operator delete(v42); if ( (v39[0] & 1) != 0 ) operator delete(v40); if ( (v37[0] & 1) != 0 ) operator delete(v38); if ( (v35[0] & 1) != 0 ) operator delete(v36); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source