// // MusicDownloadManager::encodeDataTo from 0x575b94 to 0x575dc6 (562 bytes) // // 1 xrefs: // > GameManager::encodeDataTo @ 0x41de60 // // 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:42 +0000 // int __fastcall MusicDownloadManager::encodeDataTo(MusicDownloadManager *this, DS_Dictionary *a2) { int v4; // r2 int v5; // r1 int v6; // r8 int v7; // r2 int v8; // r3 int v10; // [sp+4h] [bp-50h] char *v11; // [sp+14h] [bp-40h] BYREF _DWORD v12[2]; // [sp+18h] [bp-3Ch] BYREF int v13; // [sp+20h] [bp-34h] BYREF int v14; // [sp+24h] [bp-30h] int v15; // [sp+28h] [bp-2Ch] char v16[32]; // [sp+2Ch] [bp-28h] BYREF DS_Dictionary::setDictForKey(a2, "MDLM_001", *((cocos2d::CCDictionary **)this + 69)); DS_Dictionary::setDictForKey(a2, "MDLM_003", *((cocos2d::CCDictionary **)this + 70)); DS_Dictionary::setIntegerForKey(a2, "MDLM_002", *((_DWORD *)this + 71)); std::vector::vector *>>( &v11, *((_DWORD **)this + 108), nullptr); MusicDownloadManager::joinIDString(&v13, &v11); DS_Dictionary::setStringForKey(a2, "MDLM_004", &v13); std::string::~string((int)&v13); std::__vector_base::~__vector_base(&v11); std::vector::vector *>>( &v11, *((_DWORD **)this + 118), nullptr); MusicDownloadManager::joinIDString(&v13, &v11); DS_Dictionary::setStringForKey(a2, "MDLM_005", &v13); std::string::~string((int)&v13); std::__vector_base::~__vector_base(&v11); std::vector::vector *>>( &v11, *((_DWORD **)this + 113), nullptr); MusicDownloadManager::joinIDString(&v13, &v11); DS_Dictionary::setStringForKey(a2, "MDLM_011", &v13); std::string::~string((int)&v13); std::__vector_base::~__vector_base(&v11); v4 = *((_DWORD *)this + 122); v5 = *((_DWORD *)this + 121); v6 = 0; v13 = 0; v14 = 0; v15 = 0; v10 = (v4 - v5) >> 3; while ( v6 != v10 ) { v7 = *((_DWORD *)this + 121); if ( *(int *)(v7 + 8 * v6 + 4) <= 0 ) sub_993BD0(v16, "%i", *(_DWORD *)(v7 + 8 * v6)); else sub_993BD0(v16, "%i:%i", *(_DWORD *)(v7 + 8 * v6)); if ( (v13 & 1) != 0 ) v8 = v14; else v8 = (int)(unsigned __int8)v13 >> 1; if ( v8 ) std::string::append(&v13, ","); std::string::append(&v13, v16); ++v6; } DS_Dictionary::setStringForKey(a2, "MDLM_006", &v13); std::string::~string((int)&v13); MusicDownloadManager::joinIDString(&v13, (_DWORD *)this + 124); DS_Dictionary::setStringForKey(a2, "MDLM_007", &v13); std::string::~string((int)&v13); sub_56E994(&v13, (_DWORD **)this + 127); DS_Dictionary::setStringForKey(a2, "MDLM_008", &v13); std::string::~string((int)&v13); sub_56E994(&v13, (_DWORD **)this + 130); DS_Dictionary::setStringForKey(a2, "MDLM_009", &v13); std::string::~string((int)&v13); v12[0] = 0; v12[1] = 0; v11 = (char *)v12; MusicDownloadManager::encodeCustomSFX(&v13, this, &v11); DS_Dictionary::setStringForKey(a2, "MDLM_010", &v13); std::string::~string((int)&v13); return std::__tree::~__tree((int)&v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source