// // GameLevelManager::updateEditorSoundDescription from 0x4d0c68 to 0x4d0e10 (424 bytes) // // 1 xrefs: // > EditorSoundConfigInfoLayer::soundPackDescSaved @ 0x78642e // // 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:47 +0000 // int __fastcall GameLevelManager::updateEditorSoundDescription(int **a1, const char *a2, int a3, int a4) { const char *v6; // r10 int v8; // r4 cocos2d::CCString *v9; // r0 const char *CString; // r11 size_t v11; // r0 const char *v12; // r1 char *v13; // r11 int v14; // r8 int v15; // r7 cocos2d::CCString *v16; // r0 int v17; // r0 cocos2d::CCString *v18; // r0 char *v19; // r0 size_t v20; // r0 size_t v21; // r0 _BYTE v23[8]; // [sp+10h] [bp-4Ch] BYREF int v24[2]; // [sp+18h] [bp-44h] BYREF char *v25; // [sp+20h] [bp-3Ch] char *v26[3]; // [sp+24h] [bp-38h] BYREF int v27[3]; // [sp+30h] [bp-2Ch] BYREF int v28[3]; // [sp+3Ch] [bp-20h] BYREF int v29[3]; // [sp+48h] [bp-14h] BYREF v6 = a2; v8 = 0; v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"es_desc_%i", a2); v24[0] = 0; v24[1] = 0; v25 = nullptr; CString = (const char *)cocos2d::CCString::getCString(v9); v11 = strlen(CString); v12 = CString; v13 = (char *)(a1 + 131); std::string::__init(v24, v12, v11); if ( !std::__tree::__count_unique((int)(a1 + 131), (unsigned __int8 *)v24) ) { std::__tree::__emplace_unique_key_args( (int)v23, a1 + 131, (unsigned __int8 *)v24, (int)v24); GameLevelManager::getBasePostString((GameLevelManager *)v26); if ( (*(_BYTE *)a3 & 1) != 0 ) v14 = *(_DWORD *)(a3 + 8); else v14 = a3 + 1; if ( (*(_BYTE *)a4 & 1) != 0 ) v15 = *(_DWORD *)(a4 + 8); else v15 = a4 + 1; v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfv", "2898", 103, 99, &a1i2r3e45s789g[11]); v17 = cocos2d::CCString::getCString(v16); v18 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&soundID=%i&soundDesc=%s&emote=%s&secret=%s", v6, v14, v15, v17); 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/updateGJSoundDesc.php", 0x38u); if ( ((int)v26[0] & 1) == 0 ) v6 = (char *)v26 + 1; v28[0] = 0; if ( ((int)v26[0] & 1) != 0 ) v6 = v26[2]; v28[1] = 0; v28[2] = 0; v20 = strlen(v6); std::string::__init(v28, v6, v20); if ( (v24[0] & 1) == 0 ) v13 = (char *)v24 + 1; v29[0] = 0; if ( (v24[0] & 1) != 0 ) v13 = v25; v29[1] = 0; v29[2] = 0; v21 = strlen(v13); std::string::__init(v29, v13, v21); GameLevelManager::ProcessHttpRequest((GameManager *)a1, v27, (int)v28, (int)v29, 73); std::string::~string((int)v29); std::string::~string((int)v28); std::string::~string((int)v27); std::string::~string((int)v26); v8 = 1; } std::string::~string((int)v24); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source