// // MusicDownloadManager::customSFXPathLeaf from 0x1001d70f0 to 0x1001d7234 (324 bytes) // // 2 xrefs: // > sub_1001D6E84 @ 0x1001d6fac // > MusicDownloadManager::getCustomSFXLocationText @ 0x1001d7644 // // 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 11:00:25 +0000 // void __usercall MusicDownloadManager::customSFXPathLeaf(std::string *a1@, __int64 a2@) { __int64 v3; // x21 unsigned __int64 v4; // x22 __int64 v5; // x8 __int128 *v6; // x8 __int128 v7; // q0 void **v8; // x1 std::string::size_type v9; // x2 void *v10[2]; // [xsp+0h] [xbp-80h] BYREF __int64 v11; // [xsp+10h] [xbp-70h] void *__p[2]; // [xsp+20h] [xbp-60h] BYREF unsigned __int8 v13; // [xsp+37h] [xbp-49h] __int64 v14; // [xsp+38h] [xbp-48h] BYREF __int64 v15; // [xsp+40h] [xbp-40h] __int64 v16; // [xsp+48h] [xbp-38h] v14 = 0; v15 = 0; v16 = 0; sub_1001D45F0(a1, "/", (__int64)&v14); *(_QWORD *)a2 = 0; *(_QWORD *)(a2 + 8) = 0; *(_QWORD *)(a2 + 16) = 0; if ( v15 != v14 ) { v3 = 0; if ( 0xAAAAAAAAAAAAAAABLL * ((v15 - v14) >> 3) <= 1 ) v4 = 1; else v4 = 0xAAAAAAAAAAAAAAABLL * ((v15 - v14) >> 3); do { v5 = *(unsigned __int8 *)(a2 + 23); if ( (v5 & 0x80u) != 0LL ) v5 = *(_QWORD *)(a2 + 8); if ( v5 ) std::string::append((std::string *)a2, " / "); v6 = (__int128 *)(v14 + v3); if ( *(char *)(v14 + v3 + 23) < 0 ) { sub_1000097D0(v10, *(void **)v6, *((_QWORD *)v6 + 1)); } else { v7 = *v6; v11 = *((_QWORD *)v6 + 2); *(_OWORD *)v10 = v7; } LevelTools::base64DecodeString(__p, v10); if ( (v13 & 0x80u) == 0 ) v8 = __p; else v8 = (void **)__p[0]; if ( (v13 & 0x80u) == 0 ) v9 = v13; else v9 = (std::string::size_type)__p[1]; std::string::append((std::string *)a2, (const std::string::value_type *)v8, v9); if ( (char)v13 < 0 ) operator delete(__p[0]); if ( SHIBYTE(v11) < 0 ) operator delete(v10[0]); v3 += 24; --v4; } while ( v4 ); } __p[0] = &v14; sub_100018250((void ***)__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source