// // GameLevelManager::deleteLevelControls from 0x4c1740 to 0x4c18d6 (406 bytes) // // 1 xrefs: // > PlatformerControlsPopup::FLAlert_Clicked @ 0x79dfac // // 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:24 +0000 // int __fastcall GameLevelManager::deleteLevelControls(GameLevelManager *this, const char *a2) { char *v2; // r11 _DWORD *v5; // r0 int v6; // r1 char *v7; // r2 int v8; // r6 cocos2d::CCObject *v9; // r0 cocos2d::CCString *v10; // r0 int CString; // r0 cocos2d::CCString *v12; // r0 char *v13; // r0 size_t v14; // r0 size_t v15; // r0 int v16; // r4 _DWORD v18[2]; // [sp+10h] [bp-44h] BYREF char *v19; // [sp+18h] [bp-3Ch] char *v20[3]; // [sp+1Ch] [bp-38h] BYREF int v21[3]; // [sp+28h] [bp-2Ch] BYREF int v22[3]; // [sp+34h] [bp-20h] BYREF int v23[3]; // [sp+40h] [bp-14h] BYREF std::to_string((int)v23); v5 = std::string::insert(v23, 0, "lctrldel_"); v6 = v5[1]; v7 = (char *)v5[2]; v18[0] = *v5; v18[1] = v6; v19 = v7; *v5 = 0; v5[1] = 0; v5[2] = 0; std::string::~string((int)v23); if ( cocos2d::CCDictionary::objectForKey(*((_DWORD *)this + 187), v18) ) { v16 = 0; } else { v8 = *((_DWORD *)this + 187); v9 = (cocos2d::CCObject *)cocos2d::CCNode::create(nullptr); cocos2d::CCDictionary::setObject(v8, v9); GameLevelManager::getBasePostString((GameLevelManager *)v20); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfd", "2893", 103, 98, &a1i2r3e45s789g[9]); CString = cocos2d::CCString::getCString(v10); v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&levelID=%i&secret=%s", a2, CString); v13 = (char *)cocos2d::CCString::getCString(v12); std::string::append(v20, v13); memset(v21, 0, sizeof(v21)); std::string::__init(v21, "https://www.boomlings.com/database/deleteGJLevelControls.php", 0x3Cu); if ( ((int)v20[0] & 1) == 0 ) v2 = (char *)v20 + 1; v22[0] = 0; if ( ((int)v20[0] & 1) != 0 ) v2 = v20[2]; v22[1] = 0; v22[2] = 0; v14 = strlen(v2); std::string::__init(v22, v2, v14); if ( (v18[0] & 1) == 0 ) v2 = (char *)v18 + 1; v23[0] = 0; if ( (v18[0] & 1) != 0 ) v2 = v19; v23[1] = 0; v23[2] = 0; v15 = strlen(v2); std::string::__init(v23, v2, v15); GameLevelManager::ProcessHttpRequest(this, v21, (int)v22, (int)v23, 29); v16 = 1; std::string::~string((int)v23); std::string::~string((int)v22); std::string::~string((int)v21); std::string::~string((int)v20); } std::string::~string((int)v18); return v16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source