// // MusicDownloadManager::getAudioFilesize from 0x1006593a0 to 0x100659603 (611 bytes) // // 1 xrefs: // > AudioAssetsPopup::init @ 0x1008b3c81 // // This function is hookable on this platform (idp: pc, 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:34:52 +0000 // void __fastcall MusicDownloadManager::getAudioFilesize(__int64 a1) { void *v1; // rax __int64 v2; // rax __int64 v3; // rax const std::string::value_type *CString; // rax const char *data; // r14 size_t v6; // rax size_t v7; // r15 char *v8; // r12 size_t v9; // r13 char v10; // [rsp+0h] [rbp-90h] _QWORD v11[2]; // [rsp+8h] [rbp-88h] BYREF void *v12; // [rsp+18h] [rbp-78h] std::string v13; // [rsp+20h] [rbp-70h] BYREF char v14; // [rsp+38h] [rbp-58h] BYREF _BYTE v15[23]; // [rsp+39h] [rbp-57h] BYREF _QWORD __dst[2]; // [rsp+50h] [rbp-40h] BYREF void *v17; // [rsp+60h] [rbp-30h] if ( MusicDownloadManager::getDLObject(a1, "get_audio_size") ) return; v1 = cocos2d::CCNode::create(); MusicDownloadManager::addDLToActive(a1, "get_audio_size", (__int64)v1); GameLevelManager::sharedState(); GameLevelManager::getBasePostString(&v13); v2 = sub_10088E820("%c%s%s%c%c%s", (char)"7"); cocos2d::CCString::getCString(v2); v3 = sub_10088E820("&secret=%s&songIDs=%s&sfxIDs=%s", v10); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v3); std::string::append(&v13, CString); v12 = operator new(0x40u); v11[0] = 65; v11[1] = 57; strcpy((char *)v12, "https://www.boomlings.com/database/getGJAudioFilesize.php"); if ( (*(_BYTE *)&v13.__r_.__value_.__s.0 & 1) != 0 ) data = v13.__r_.__value_.__l.__data_; else data = v13.__r_.__value_.__s.__data_; v6 = strlen(data); if ( v6 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v7 = v6; if ( v6 >= 0x17 ) { v9 = 26; if ( (v6 | 7) != 0x17 ) v9 = (v6 | 7) + 1; v8 = (char *)operator new(v9); v17 = v8; __dst[0] = v9 | 1; __dst[1] = v7; goto LABEL_12; } LOBYTE(__dst[0]) = 2 * v6; v8 = (char *)__dst + 1; if ( v6 ) LABEL_12: memmove(v8, data, v7); v8[v7] = 0; v14 = 28; strcpy(v15, "get_audio_size"); MusicDownloadManager::ProcessHttpRequest(a1, (__int64)v11, (__int64)__dst, (__int64)&v14, 107); if ( (v14 & 1) == 0 ) { if ( (__dst[0] & 1) == 0 ) goto LABEL_15; LABEL_20: operator delete(v17); if ( (v11[0] & 1) == 0 ) { LABEL_16: if ( (*(_BYTE *)&v13.__r_.__value_.__s.0 & 1) == 0 ) return; goto LABEL_17; } goto LABEL_21; } operator delete(*(void **)&v15[15]); if ( (__dst[0] & 1) != 0 ) goto LABEL_20; LABEL_15: if ( (v11[0] & 1) == 0 ) goto LABEL_16; LABEL_21: operator delete(v12); if ( (*(_BYTE *)&v13.__r_.__value_.__s.0 & 1) != 0 ) LABEL_17: operator delete(v13.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source