// // MusicDownloadManager::getAudioFilesize from 0x966510 to 0x966774 (612 bytes) // // 2 xrefs: // > AudioAssetsPopup::init @ 0xc8e6b8 // > @ 0xe2960 // // 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:57:36 +0000 // __int64 __fastcall MusicDownloadManager::getAudioFilesize(MusicDownloadManager *a1, __int64 a2, __int64 a3) { GameLevelManager *v7; // x0 cocos2d::CCString *v8; // x0 const char *CString; // x0 __int64 v10; // x2 __int64 v11; // x3 cocos2d::CCString *v12; // x0 size_t v13; // x0 const char *v14; // x1 size_t v15; // x0 char *v16; // [xsp+48h] [xbp+48h] char *v17; // [xsp+48h] [xbp+48h] __int64 v18[2]; // [xsp+58h] [xbp+58h] BYREF void *v19; // [xsp+68h] [xbp+68h] __int64 v20[2]; // [xsp+70h] [xbp+70h] BYREF void *v21; // [xsp+80h] [xbp+80h] __int64 v22[2]; // [xsp+88h] [xbp+88h] BYREF void *v23; // [xsp+98h] [xbp+98h] __int64 v24[2]; // [xsp+A0h] [xbp+A0h] BYREF void *v25; // [xsp+B0h] [xbp+B0h] if ( !MusicDownloadManager::isDLActive(a1, "get_audio_size") ) { v7 = (GameLevelManager *)MusicDownloadManager::addDLToActive(a1, "get_audio_size"); GameLevelManager::sharedState(v7); GameLevelManager::getBasePostString(v18); v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)off_50 + 7, "mfd", "2893", 103, 98, "7"); CString = (const char *)cocos2d::CCString::getCString(v8); v10 = a2 + 1; if ( (*(_BYTE *)a2 & 1) != 0 ) v10 = *(_QWORD *)(a2 + 16); v11 = a3 + 1; if ( (*(_BYTE *)a3 & 1) != 0 ) v11 = *(_QWORD *)(a3 + 16); v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&secret=%s&songIDs=%s&sfxIDs=%s", CString, v10, v11); v16 = (char *)cocos2d::CCString::getCString(v12); v13 = strlen(v16); std::string::append((__int64)v18, v16, v13); v20[0] = 0; v20[1] = 0; v21 = nullptr; std::string::__init(v20, "https://www.boomlings.com/database/getGJAudioFilesize.php", 0x39u); v14 = (char *)v18 + 1; if ( (v18[0] & 1) != 0 ) v14 = (const char *)v19; v17 = (char *)v14; v22[0] = 0; v22[1] = 0; v23 = nullptr; v15 = strlen(v14); std::string::__init(v22, v17, v15); v24[0] = 0; v24[1] = 0; v25 = nullptr; std::string::__init(v24, "get_audio_size", 0xEu); MusicDownloadManager::ProcessHttpRequest(a1, (__int64)v20, (__int64)v22, (__int64)v24, 107); if ( (v24[0] & 1) != 0 ) operator delete(v25); if ( (v22[0] & 1) != 0 ) operator delete(v23); if ( (v20[0] & 1) != 0 ) operator delete(v21); if ( (v18[0] & 1) != 0 ) operator delete(v19); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source