// // MusicDownloadManager::getCustomSFXRawPath from 0x966884 to 0x966b00 (636 bytes) // // 3 xrefs: // > MusicDownloadManager::getCustomSFXLocationText @ 0x966b34 // > MusicDownloadManager::rebuildCustomSFXMappings @ 0x97a9dc // > @ 0x732e8 // // 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 *__usercall MusicDownloadManager::getCustomSFXRawPath@( MusicDownloadManager *this@, SFXInfoObject *a2@, __int64 *a3@) { char v6; // w0 char *v7; // x2 __int64 v8; // x0 size_t v9; // x1 __int64 CustomSFXObject; // x0 __int64 v11; // x20 int v12; // w22 char *v13; // x2 size_t v14; // x3 __int64 v15; // x0 char v16; // w0 __int64 v17; // x0 __int64 v18; // x1 __int64 v19; // x1 _QWORD v21[3]; // [xsp+60h] [xbp+60h] BYREF __int64 v22; // [xsp+78h] [xbp+78h] BYREF __int64 v23; // [xsp+80h] [xbp+80h] void *v24; // [xsp+88h] [xbp+88h] __int64 v25; // [xsp+90h] [xbp+90h] BYREF size_t v26; // [xsp+98h] [xbp+98h] void *v27; // [xsp+A0h] [xbp+A0h] if ( a2 ) { v6 = *((_BYTE *)a2 + 80); v25 = 0; v7 = (char *)a2 + 80; v26 = 0; v27 = nullptr; if ( (v6 & 1) != 0 ) { std::string::__init(&v25, *((void **)a2 + 12), *((_QWORD *)a2 + 11)); } else { v8 = *((_QWORD *)a2 + 10); v9 = *((_QWORD *)a2 + 11); v27 = *((void **)v7 + 2); v25 = v8; v26 = v9; } LevelTools::base64EncodeString((__int64)&v25, v21); if ( (v25 & 1) != 0 ) operator delete(v27); CustomSFXObject = MusicDownloadManager::getCustomSFXObject(this, *((_DWORD *)a2 + 15)); v11 = CustomSFXObject; if ( CustomSFXObject && *(_DWORD *)(CustomSFXObject + 76) != 1 ) { v12 = 0; do { ++v12; std::string::insert(v21, 0, (char *)&word_11BA098, 1u); v16 = *(_BYTE *)(v11 + 80); v22 = 0; v23 = 0; v24 = nullptr; if ( (v16 & 1) != 0 ) { std::string::__init(&v22, *(void **)(v11 + 96), *(_QWORD *)(v11 + 88)); } else { v17 = *(_QWORD *)(v11 + 80); v18 = *(_QWORD *)(v11 + 88); v24 = *(void **)(v11 + 96); v22 = v17; v23 = v18; } LevelTools::base64EncodeString((__int64)&v22, &v25); if ( (v25 & 1) != 0 ) { v13 = (char *)v27; v14 = v26; } else { v14 = (unsigned __int8)v25 >> 1; v13 = (char *)&v25 + 1; } std::string::insert(v21, 0, v13, v14); if ( (v25 & 1) != 0 ) operator delete(v27); if ( (v22 & 1) != 0 ) operator delete(v24); v15 = MusicDownloadManager::getCustomSFXObject(this, *(_DWORD *)(v11 + 60)); v11 = v15; } while ( v15 && *(_DWORD *)(v15 + 76) != 1 && v12 != 10 ); } a3[2] = v21[2]; v19 = v21[1]; *a3 = v21[0]; a3[1] = v19; } else { *a3 = 0; a3[1] = 0; a3[2] = 0; std::string::__init(a3, &byte_11B8890, 0); } return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source