// // MusicDownloadManager::customSFXPathDisplay from 0x965de0 to 0x966038 (600 bytes) // // 3 xrefs: // > MusicDownloadManager::resolveSFXPlacement @ 0x966138 // > MusicDownloadManager::getCustomSFXLocationText @ 0x966bc8 // > @ 0x56a28 // // 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:35 +0000 // _QWORD *__usercall MusicDownloadManager::customSFXPathDisplay@(unsigned __int8 *a1@, _QWORD *a2@) { char *v3; // x2 char *v4; // x24 unsigned __int64 v5; // x24 __int64 v6; // x21 __int64 i; // x22 __int64 v8; // x1 char *v9; // x2 __int64 v10; // x1 char *v11; // x1 size_t v12; // x2 char *v13; // x19 char *v14; // x0 void *v16; // [xsp+50h] [xbp+50h] BYREF char *v17; // [xsp+58h] [xbp+58h] __int64 v18; // [xsp+60h] [xbp+60h] __int64 v19; // [xsp+68h] [xbp+68h] BYREF __int64 v20; // [xsp+70h] [xbp+70h] void *v21; // [xsp+78h] [xbp+78h] void *v22[2]; // [xsp+80h] [xbp+80h] BYREF void *v23; // [xsp+90h] [xbp+90h] v16 = nullptr; v17 = nullptr; v18 = 0; sub_961B60(a1, (char *)&word_11BA098, (__int64 *)&v16); v3 = (char *)v16; v4 = v17; *a2 = 0; a2[1] = 0; a2[2] = 0; v5 = 0xAAAAAAAAAAAAAAABLL * ((v4 - v3) >> 3); if ( v5 ) { v6 = 0; for ( i = 0; i != v5; ++i ) { v8 = *(_BYTE *)a2 >> 1; if ( (*(_BYTE *)a2 & 1) != 0 ) v8 = a2[1]; if ( v8 ) std::string::append((__int64)a2, " / ", 3u); v19 = 0; v20 = 0; v9 = (char *)v16 + v6; v21 = nullptr; if ( (*((_BYTE *)v16 + v6) & 1) != 0 ) { std::string::__init(&v19, *((void **)v9 + 2), *((_QWORD *)v9 + 1)); } else { v10 = *((_QWORD *)v9 + 1); v19 = *(_QWORD *)v9; v20 = v10; v21 = *((void **)v9 + 2); } LevelTools::base64DecodeString((__int64)&v19, v22); if ( ((__int64)v22[0] & 1) != 0 ) { v11 = (char *)v23; v12 = (size_t)v22[1]; } else { v12 = LOBYTE(v22[0]) >> 1; v11 = (char *)v22 + 1; } std::string::append((__int64)a2, v11, v12); if ( ((__int64)v22[0] & 1) != 0 ) operator delete(v23); if ( (v19 & 1) != 0 ) operator delete(v21); v6 += 24; } v13 = (char *)v16; } else { v13 = v3; } if ( v13 ) { v14 = v17; if ( v17 != v13 ) { do { v17 = v14 - 24; std::string::~string((__int64)(v14 - 24)); v14 = v17; } while ( v17 != v13 ); v13 = (char *)v16; } operator delete(v13); } return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source