// // MusicDownloadManager::getCustomSFXRawPath from 0x56f3d4 to 0x56f4dc (264 bytes) // // 2 xrefs: // > MusicDownloadManager::getCustomSFXLocationText @ 0x56f500 // > MusicDownloadManager::rebuildCustomSFXMappings @ 0x57a5c4 // // 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:36 +0000 // MusicDownloadManager *__fastcall MusicDownloadManager::getCustomSFXRawPath( MusicDownloadManager *this, SFXInfoObject *a2, int a3) { int CustomSFXObject; // r7 int v7; // r9 char *v8; // r2 size_t v9; // r3 int v10; // r0 int v11; // r1 int v12; // r2 int v14; // [sp+8h] [bp-2Ch] BYREF int v15; // [sp+Ch] [bp-28h] int v16; // [sp+10h] [bp-24h] int v17[3]; // [sp+14h] [bp-20h] BYREF int v18[3]; // [sp+20h] [bp-14h] BYREF if ( a3 ) { std::string::basic_string(v18, a3 + 76); LevelTools::base64EncodeString(&v14, v18); std::string::~string((int)v18); CustomSFXObject = MusicDownloadManager::getCustomSFXObject(a2, *(_DWORD *)(a3 + 56)); v7 = 11; while ( CustomSFXObject ) { if ( *(_DWORD *)(CustomSFXObject + 72) == 1 ) break; if ( !--v7 ) break; std::string::insert(&v14, 0, "/"); std::string::basic_string(v17, CustomSFXObject + 76); LevelTools::base64EncodeString(v18, v17); if ( (v18[0] & 1) != 0 ) { v8 = (char *)v18[2]; v9 = v18[1]; } else { v9 = (int)LOBYTE(v18[0]) >> 1; v8 = (char *)v18 + 1; } std::string::insert(&v14, 0, v8, v9); std::string::~string((int)v18); std::string::~string((int)v17); CustomSFXObject = MusicDownloadManager::getCustomSFXObject(a2, *(_DWORD *)(CustomSFXObject + 56)); } v10 = v14; v11 = v15; v12 = v16; v14 = 0; v15 = 0; v16 = 0; *(_DWORD *)this = v10; *((_DWORD *)this + 1) = v11; *((_DWORD *)this + 2) = v12; std::string::~string((int)&v14); } else { *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; std::string::__init((int *)this, &unk_B6B226, 0); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source