// // MusicDownloadManager::getCustomSFXLocationText from 0x140487120 to 0x1404872b3 (403 bytes) // // 3 xrefs: // > CustomSFXWidget::onShowInfo @ 0x140163308 // > SFXBrowser::cellPerformedAction @ 0x14062013a // > @ 0x140928c94 // // This function is hookable on this platform (idp: pc, 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:32:47 +0000 // // Hidden C++ exception states: #wind=4 _QWORD *__fastcall MusicDownloadManager::getCustomSFXLocationText(__int64 a1, _QWORD *a2, __int64 a3) { __int64 v5; // r8 _QWORD *v6; // rcx size_t v7; // rsi struct cocos2d::CCObject *CustomSFXRoot; // rax _QWORD *v9; // rdx void **v10; // rbx _QWORD *v11; // rax void *v12; // rdx void *v13; // rcx _QWORD v15[2]; // [rsp+40h] [rbp-88h] BYREF unsigned __int64 v16; // [rsp+50h] [rbp-78h] unsigned __int64 v17; // [rsp+58h] [rbp-70h] void *Block[2]; // [rsp+60h] [rbp-68h] BYREF __int128 v19; // [rsp+70h] [rbp-58h] _QWORD Src[4]; // [rsp+80h] [rbp-48h] BYREF MusicDownloadManager::getCustomSFXRawPath(a1, (__int64)v15, a3); v6 = v15; if ( v17 > 0xF ) v6 = (_QWORD *)v15[0]; v7 = sub_14007B240((__int64)v6, v16, v5, 0x2Fu); CustomSFXRoot = MusicDownloadManager::getCustomSFXRoot(a1); sub_14003F4F0((__int64)a2, (__int64)CustomSFXRoot + 80); if ( v7 != -1 ) { *(_OWORD *)Block = 0; v19 = 0; if ( v16 < v7 ) v7 = v16; v9 = v15; if ( v17 > 0xF ) v9 = (_QWORD *)v15[0]; sub_14003D230(Block, v9, v7); v10 = (void **)MusicDownloadManager::customSFXPathDisplay(Src, (__int64 *)Block); v11 = sub_140044D80(a2, " / ", 3u); v12 = v10; if ( (unsigned __int64)v10[3] > 0xF ) v12 = *v10; sub_140044D80(v11, v12, (size_t)v10[2]); sub_14003D310((__int64)Src); if ( *((_QWORD *)&v19 + 1) > 0xFu ) { v13 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v19 + 1) + 1LL) >= 0x1000 ) { v13 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v13 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v13); } } sub_14003D310((__int64)v15); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source