// // GameLevelManager::getLevelControls from 0x4c18f8 to 0x4c1a66 (366 bytes) // // 1 xrefs: // > PlatformerControlsPopup::onUpdate @ 0x79c81e // // 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::getLevelControls(GameLevelManager *this, const char *a2) { char *v2; // r11 _DWORD *v5; // r0 int v6; // r1 char *v7; // r2 cocos2d::CCString *v8; // r0 int CString; // r0 cocos2d::CCString *v10; // r0 char *v11; // r0 size_t v12; // r0 size_t v13; // r0 _DWORD v15[2]; // [sp+10h] [bp-44h] BYREF char *v16; // [sp+18h] [bp-3Ch] char *v17[3]; // [sp+1Ch] [bp-38h] BYREF int v18[3]; // [sp+28h] [bp-2Ch] BYREF int v19[3]; // [sp+34h] [bp-20h] BYREF int v20[3]; // [sp+40h] [bp-14h] BYREF std::to_string((int)v20); v5 = std::string::insert(v20, 0, "lctrlget_"); v6 = v5[1]; v7 = (char *)v5[2]; v15[0] = *v5; v15[1] = v6; v16 = v7; *v5 = 0; v5[1] = 0; v5[2] = 0; std::string::~string((int)v20); GameLevelManager::getBasePostString((GameLevelManager *)v17); v8 = (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(v8); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&levelID=%i&secret=%s", a2, CString); v11 = (char *)cocos2d::CCString::getCString(v10); std::string::append(v17, v11); memset(v18, 0, sizeof(v18)); std::string::__init(v18, "https://www.boomlings.com/database/getGJLevelControls.php", 0x39u); if ( ((int)v17[0] & 1) == 0 ) v2 = (char *)v17 + 1; v19[0] = 0; if ( ((int)v17[0] & 1) != 0 ) v2 = v17[2]; v19[1] = 0; v19[2] = 0; v12 = strlen(v2); std::string::__init(v19, v2, v12); if ( (v15[0] & 1) == 0 ) v2 = (char *)v15 + 1; v20[0] = 0; if ( (v15[0] & 1) != 0 ) v2 = v16; v20[1] = 0; v20[2] = 0; v13 = strlen(v2); std::string::__init(v20, v2, v13); GameLevelManager::ProcessHttpRequest(this, v18, (int)v19, (int)v20, 30); std::string::~string((int)v20); std::string::~string((int)v19); std::string::~string((int)v18); std::string::~string((int)v17); return std::string::~string((int)v15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source