// // MusicDownloadManager::getCustomSFXLocationText from 0x1001d759c to 0x1001d76ac (272 bytes) // // 2 xrefs: // > SFXBrowser::cellPerformedAction @ 0x1001f8290 // > sub_10038C5E0 @ 0x10038c710 // // 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::getCustomSFXLocationText(__int64 a1@, __int64 a2@, std::string *a3@) { std::string::size_type v5; // x20 __int64 CustomSFXRoot; // x0 __int128 v7; // q0 std::string *v8; // x21 void **v9; // x1 std::string::size_type v10; // x2 std::string v11; // [xsp+0h] [xbp-70h] BYREF void *__p[2]; // [xsp+18h] [xbp-58h] BYREF unsigned __int8 v13; // [xsp+2Fh] [xbp-41h] std::string __str; // [xsp+30h] [xbp-40h] BYREF std::allocator __a; // [xsp+4Fh] [xbp-21h] BYREF MusicDownloadManager::customSFXPathDisplay(a1, a2, &__str); v5 = std::string::rfind(&__str, 47, 0xFFFFFFFFFFFFFFFFLL); CustomSFXRoot = MusicDownloadManager::getCustomSFXRoot(a1); if ( *(char *)(CustomSFXRoot + 103) < 0 ) { sub_1000097D0(a3, *(void **)(CustomSFXRoot + 80), *(_QWORD *)(CustomSFXRoot + 88)); } else { v7 = *(_OWORD *)(CustomSFXRoot + 80); a3->__r_.__value_.__r.__words[2] = *(_QWORD *)(CustomSFXRoot + 96); *(_OWORD *)&a3->__r_.__value_.__l.__data_ = v7; } if ( v5 != -1 ) { v8 = std::string::append(a3, " / "); std::string::basic_string(&v11, &__str, 0, v5, &__a); MusicDownloadManager::customSFXPathLeaf(&v11, (__int64)__p); if ( (v13 & 0x80u) == 0 ) v9 = __p; else v9 = (void **)__p[0]; if ( (v13 & 0x80u) == 0 ) v10 = v13; else v10 = (std::string::size_type)__p[1]; std::string::append(v8, (const std::string::value_type *)v9, v10); if ( (char)v13 < 0 ) operator delete(__p[0]); if ( SHIBYTE(v11.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v11.__r_.__value_.__l.__data_); } if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__str.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source