// // GameLevelManager::deleteServerLevelList from 0x846d10 to 0x8470b0 (928 bytes) // // 2 xrefs: // > LevelListLayer::startServerDelete @ 0xba98a8 // > @ 0xe97a0 // // 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:21 +0000 // __int64 __fastcall GameLevelManager::deleteServerLevelList( cocos2d::CCObject *a1, GameToolbox *this, char *a3, __int64 *a4) { unsigned int v5; // w22 cocos2d::CCString *v9; // x0 size_t v10; // x0 char *v11; // x2 cocos2d::CCString *v12; // x0 size_t v13; // x0 const char *v14; // x1 size_t v15; // x0 const char *v16; // x1 size_t v17; // x0 char *CString; // [xsp+58h] [xbp+58h] char *v19; // [xsp+58h] [xbp+58h] char *v20; // [xsp+58h] [xbp+58h] char *v21; // [xsp+58h] [xbp+58h] unsigned __int64 v22; // [xsp+60h] [xbp+60h] BYREF size_t v23; // [xsp+68h] [xbp+68h] void *v24; // [xsp+70h] [xbp+70h] __int64 v25[2]; // [xsp+78h] [xbp+78h] BYREF void *v26; // [xsp+88h] [xbp+88h] __int64 v27[2]; // [xsp+90h] [xbp+90h] BYREF void *v28; // [xsp+A0h] [xbp+A0h] __int64 v29[2]; // [xsp+A8h] [xbp+A8h] BYREF void *v30; // [xsp+B8h] [xbp+B8h] __int64 v31[2]; // [xsp+C0h] [xbp+C0h] BYREF void *v32; // [xsp+D0h] [xbp+D0h] __int64 v33[2]; // [xsp+D8h] [xbp+D8h] BYREF void *v34; // [xsp+E8h] [xbp+E8h] unsigned __int64 v35; // [xsp+F0h] [xbp+F0h] BYREF size_t v36; // [xsp+F8h] [xbp+F8h] void *v37; // [xsp+100h] [xbp+100h] v5 = (unsigned int)this; GameToolbox::intToString(&v22, (GameToolbox *)(unsigned int)this); if ( std::__tree::__count_unique((__int64)a1 + 720, (__int64)&v22) ) { if ( (v22 & 1) != 0 ) LABEL_3: operator delete(v24); } else { std::__tree::__emplace_unique_key_args( (__int64)a1 + 720, (__int64)&v22, &v22); v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)off_50 + 7, "mfv", "2898", 103, 99, "9"); CString = (char *)cocos2d::CCString::getCString(v9); v25[0] = 0; v25[1] = 0; v26 = nullptr; v10 = strlen(CString); std::string::__init(v25, CString, v10); v27[0] = 0; v27[1] = 0; v28 = nullptr; std::string::__init(v27, "https://www.boomlings.com/database/deleteGJLevelList.php", 0x38u); GameLevelManager::getBasePostString(v29); v11 = (char *)v25 + 1; if ( (v25[0] & 1) != 0 ) v11 = (char *)v26; v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&listID=%i&secret=%s", (const char *)v5, v11); v19 = (char *)cocos2d::CCString::getCString(v12); v13 = strlen(v19); std::string::append((__int64)v29, v19, v13); GameLevelManager::appendModReason((int)a1, (__int64)v29, a3, a4); v14 = (char *)v27 + 1; if ( (v27[0] & 1) != 0 ) v14 = (const char *)v28; v20 = (char *)v14; v31[0] = 0; v31[1] = 0; v32 = nullptr; v15 = strlen(v14); std::string::__init(v31, v20, v15); v16 = (char *)v29 + 1; if ( (v29[0] & 1) != 0 ) v16 = (const char *)v30; v21 = (char *)v16; v33[0] = 0; v33[1] = 0; v34 = nullptr; v17 = strlen(v16); std::string::__init(v33, v21, v17); v35 = 0; v36 = 0; v37 = nullptr; if ( (v22 & 1) != 0 ) { std::string::__init((__int64 *)&v35, v24, v23); } else { v35 = v22; v36 = v23; v37 = v24; } GameLevelManager::ProcessHttpRequest(a1, v31, (__int64)v33, (char *)&v35, 68); if ( (v35 & 1) != 0 ) operator delete(v37); if ( (v33[0] & 1) != 0 ) operator delete(v34); if ( (v31[0] & 1) != 0 ) operator delete(v32); if ( (v29[0] & 1) != 0 ) operator delete(v30); if ( (v27[0] & 1) != 0 ) operator delete(v28); if ( (v25[0] & 1) != 0 ) operator delete(v26); if ( (v22 & 1) != 0 ) goto LABEL_3; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source