// // GameLevelManager::updateDescription from 0x4ba860 to 0x4baa20 (448 bytes) // // 2 xrefs: // > EditLevelLayer::FLAlert_Clicked @ 0x4a226e // > CreatorSettingsPopup::setTextPopupClosed @ 0x766214 // // 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:15 +0000 // int __fastcall GameLevelManager::updateDescription(GameLevelManager *a1, const char *a2, int a3) { const char *DescKey; // r0 int v7; // r9 const char *v8; // r8 size_t v9; // r0 int v10; // r9 cocos2d::CCNode *v11; // r0 cocos2d::CCObject *v12; // r0 cocos2d::CCObject *v13; // r11 size_t v14; // r0 int v15; // r5 cocos2d::CCString *v16; // r0 int CString; // r0 cocos2d::CCString *v18; // r0 char *v19; // r0 const char *v20; // r1 size_t v21; // r0 size_t v22; // r0 int v24; // [sp+14h] [bp-40h] const char *v25; // [sp+14h] [bp-40h] char *v26[3]; // [sp+1Ch] [bp-38h] BYREF int v27[3]; // [sp+28h] [bp-2Ch] BYREF int v28[3]; // [sp+34h] [bp-20h] BYREF int v29; // [sp+40h] [bp-14h] BYREF int v30; // [sp+44h] [bp-10h] int v31; // [sp+48h] [bp-Ch] DescKey = (const char *)GameLevelManager::getDescKey(a1, a2); v29 = 0; v30 = 0; v31 = 0; v7 = *((_DWORD *)a1 + 187); v8 = DescKey; v9 = strlen(DescKey); std::string::__init(&v29, v8, v9); v10 = cocos2d::CCDictionary::objectForKey(v7, &v29); v11 = (cocos2d::CCNode *)std::string::~string((int)&v29); if ( v10 ) return 0; v24 = *((_DWORD *)a1 + 187); v12 = (cocos2d::CCObject *)cocos2d::CCNode::create(v11); v29 = 0; v30 = 0; v31 = 0; v13 = v12; v14 = strlen(v8); std::string::__init(&v29, v8, v14); cocos2d::CCDictionary::setObject(v24, v13); std::string::~string((int)&v29); std::string::basic_string(&v29, a3); GameLevelManager::removeDelimiterChars((int)a1, (unsigned __int8 *)&v29, 0); std::string::~string((int)&v29); GameLevelManager::getBasePostString((GameLevelManager *)v26); if ( (*(_BYTE *)a3 & 1) != 0 ) v15 = *(_DWORD *)(a3 + 8); else v15 = a3 + 1; v16 = (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(v16); v18 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&levelID=%i&levelDesc=%s&secret=%s", a2, v15, CString); v19 = (char *)cocos2d::CCString::getCString(v18); std::string::append(v26, v19); memset(v27, 0, sizeof(v27)); std::string::__init(v27, "https://www.boomlings.com/database/updateGJDesc20.php", 0x35u); v28[0] = 0; v28[1] = 0; if ( ((int)v26[0] & 1) == 0 ) v20 = (char *)v26 + 1; v28[2] = 0; if ( ((int)v26[0] & 1) != 0 ) v20 = v26[2]; v25 = v20; v21 = strlen(v20); std::string::__init(v28, v25, v21); v29 = 0; v30 = 0; v31 = 0; v22 = strlen(v8); std::string::__init(&v29, v8, v22); GameLevelManager::ProcessHttpRequest(a1, v27, (int)v28, (int)&v29, 27); std::string::~string((int)&v29); std::string::~string((int)v28); std::string::~string((int)v27); std::string::~string((int)v26); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source