// // MusicDownloadManager::getAudioFilesize from 0x56ebd4 to 0x56ed14 (320 bytes) // // 1 xrefs: // > AudioAssetsPopup::init @ 0x7611f6 // // 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:52:35 +0000 // int __fastcall MusicDownloadManager::getAudioFilesize(MusicDownloadManager *a1, int a2, int a3) { const char *v3; // r10 int result; // r0 int v8; // r2 int v9; // r3 GameLevelManager *v10; // r0 cocos2d::CCString *v11; // r0 const char *CString; // r1 int v13; // r2 int v14; // r3 cocos2d::CCString *v15; // r0 char *v16; // r0 size_t v17; // r0 char *v18[3]; // [sp+14h] [bp-34h] BYREF int v19[3]; // [sp+20h] [bp-28h] BYREF int v20[3]; // [sp+2Ch] [bp-1Ch] BYREF int v21[3]; // [sp+38h] [bp-10h] BYREF result = MusicDownloadManager::isDLActive(a1, "get_audio_size"); if ( !result ) { v10 = (GameLevelManager *)MusicDownloadManager::addDLToActive(a1, "get_audio_size", v8, v9); GameLevelManager::sharedState(v10); GameLevelManager::getBasePostString((GameLevelManager *)v18); v11 = (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 = (const char *)cocos2d::CCString::getCString(v11); if ( (*(_BYTE *)a2 & 1) != 0 ) v13 = *(_DWORD *)(a2 + 8); else v13 = a2 + 1; if ( (*(_BYTE *)a3 & 1) != 0 ) v14 = *(_DWORD *)(a3 + 8); else v14 = a3 + 1; v15 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&secret=%s&songIDs=%s&sfxIDs=%s", CString, v13, v14); v16 = (char *)cocos2d::CCString::getCString(v15); std::string::append(v18, v16); memset(v19, 0, sizeof(v19)); std::string::__init(v19, "https://www.boomlings.com/database/getGJAudioFilesize.php", 0x39u); v20[0] = 0; v20[1] = 0; if ( ((int)v18[0] & 1) == 0 ) v3 = (char *)v18 + 1; v20[2] = 0; if ( ((int)v18[0] & 1) != 0 ) v3 = v18[2]; v17 = strlen(v3); std::string::__init(v20, v3, v17); memset(v21, 0, sizeof(v21)); std::string::__init(v21, "get_audio_size", 0xEu); MusicDownloadManager::ProcessHttpRequest(a1, (int)v19, (int)v20, (int)v21, 107); std::string::~string((int)v21); std::string::~string((int)v20); std::string::~string((int)v19); return std::string::~string((int)v18); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source