// // GameLevelManager::getEditorSoundConfigs from 0x82f150 to 0x82f588 (1080 bytes) // // 2 xrefs: // > EditorSoundBrowserLayer::loadCurrentPage @ 0xcc917c // > @ 0x52cd8 // // 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:08 +0000 // __int64 __fastcall GameLevelManager::getEditorSoundConfigs(GameLevelManager *this, GJSearchObject *a2) { char *Key; // x0 __int64 v5; // x0 size_t v6; // x3 char *v7; // x1 char *v8; // x1 char *v10; // x1 char v11; // w0 __int64 v12; // x0 __int64 v13; // x1 const char *v14; // x25 unsigned int v15; // w28 unsigned int v16; // w27 unsigned int v17; // w26 unsigned int v18; // w22 cocos2d::CCString *v19; // x0 __int64 CString; // x0 cocos2d::CCString *v21; // x0 size_t v22; // x0 const char *v23; // x1 size_t v24; // x0 __int64 v25; // x1 void (__fastcall ***v26)(_QWORD, __int64, char *); // x0 char *v27; // x2 char *v28; // [xsp+68h] [xbp+68h] char *v29; // [xsp+68h] [xbp+68h] __int64 v30; // [xsp+78h] [xbp+78h] BYREF size_t v31; // [xsp+80h] [xbp+80h] char *v32; // [xsp+88h] [xbp+88h] __int64 v33[2]; // [xsp+90h] [xbp+90h] BYREF void *v34; // [xsp+A0h] [xbp+A0h] __int64 v35; // [xsp+A8h] [xbp+A8h] BYREF __int64 v36; // [xsp+B0h] [xbp+B0h] void *v37; // [xsp+B8h] [xbp+B8h] __int64 v38[2]; // [xsp+C0h] [xbp+C0h] BYREF void *v39; // [xsp+D0h] [xbp+D0h] __int64 v40[2]; // [xsp+D8h] [xbp+D8h] BYREF void *v41; // [xsp+E8h] [xbp+E8h] __int64 v42; // [xsp+F0h] [xbp+F0h] BYREF size_t v43; // [xsp+F8h] [xbp+F8h] void *v44; // [xsp+100h] [xbp+100h] v42 = 0; v43 = 0; v44 = nullptr; std::string::__init(&v42, "es_", 3u); Key = (char *)GJSearchObject::getKey(a2); v5 = std::string::append((__int64)&v42, Key); v6 = *(_QWORD *)(v5 + 8); v30 = *(_QWORD *)v5; v31 = v6; v32 = *(char **)(v5 + 16); *(_QWORD *)v5 = 0; *(_QWORD *)(v5 + 8) = 0; *(_QWORD *)(v5 + 16) = 0; if ( (v42 & 1) != 0 ) operator delete(v44); v7 = (char *)&v30 + 1; if ( (v30 & 1) != 0 ) v7 = v32; if ( GameLevelManager::isTimeValid(this, v7, 600.0) && (v25 = cocos2d::CCDictionary::objectForKey(*((_QWORD *)this + 130), &v30)) != 0 ) { v26 = *((void (__fastcall ****)(_QWORD, __int64, char *))this + 166); if ( v26 ) { v27 = (char *)&v30 + 1; if ( (v30 & 1) != 0 ) v27 = v32; (**v26)(v26, v25, v27); } } else { v8 = (char *)&v30 + 1; if ( (v30 & 1) != 0 ) v8 = v32; if ( !GameLevelManager::isDLActive(this, v8) ) { v10 = (char *)&v30 + 1; if ( (v30 & 1) != 0 ) v10 = v32; GameLevelManager::addDLToActive(this, v10); GameLevelManager::getBasePostString(v33); v11 = *((_BYTE *)a2 + 320); v35 = 0; v36 = 0; v37 = nullptr; if ( (v11 & 1) != 0 ) { std::string::__init(&v35, *((void **)a2 + 42), *((_QWORD *)a2 + 41)); } else { v12 = *((_QWORD *)a2 + 40); v13 = *((_QWORD *)a2 + 41); v37 = *((void **)a2 + 42); v35 = v12; v36 = v13; } v14 = (char *)&v35 + 1; if ( (v35 & 1) != 0 ) v14 = (const char *)v37; v15 = *((_DWORD *)a2 + 79); v16 = *((_DWORD *)a2 + 98); v17 = *((_DWORD *)a2 + 100); v18 = *((unsigned __int8 *)a2 + 396); v19 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)off_50 + 7, "mfd", "2893", 103, 98, "7"); CString = cocos2d::CCString::getCString(v19); v21 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&str=%s&type=%i&page=%i&total=%i&count=10&star=%i&secret=%s", v14, v15, v16, v17, v18, CString); v28 = (char *)cocos2d::CCString::getCString(v21); v22 = strlen(v28); std::string::append((__int64)v33, v28, v22); if ( (v35 & 1) != 0 ) operator delete(v37); v38[0] = 0; v38[1] = 0; v39 = nullptr; std::string::__init(v38, "https://www.boomlings.com/database/getGJEditorSounds.php", 0x38u); v23 = (char *)v33 + 1; if ( (v33[0] & 1) != 0 ) v23 = (const char *)v34; v29 = (char *)v23; v40[0] = 0; v40[1] = 0; v41 = nullptr; v24 = strlen(v23); std::string::__init(v40, v29, v24); v42 = 0; v43 = 0; v44 = nullptr; if ( (v30 & 1) != 0 ) { std::string::__init(&v42, v32, v31); } else { v44 = v32; v42 = v30; v43 = v31; } GameLevelManager::ProcessHttpRequest(this, v38, (__int64)v40, (char *)&v42, 70); if ( (v42 & 1) != 0 ) operator delete(v44); if ( (v40[0] & 1) != 0 ) operator delete(v41); if ( (v38[0] & 1) != 0 ) operator delete(v39); if ( (v33[0] & 1) != 0 ) { operator delete(v34); if ( (v30 & 1) == 0 ) return _stack_chk_guard; LABEL_31: operator delete(v32); return _stack_chk_guard; } } } if ( (v30 & 1) != 0 ) goto LABEL_31; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source