// // SFXBrowser::onExportFile from 0xb8f8b8 to 0xb8fb00 (584 bytes) // // 3 xrefs: // > @ 0x881e0 // > sub_B947C8 @ 0xb95e9c // > @ 0x1543930 // // 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 13:02:36 +0000 // __int64 __fastcall SFXBrowser::onExportFile(SFXBrowser *this, cocos2d::CCObject *a2) { MusicDownloadManager *v3; // x0 MusicDownloadManager *CustomSFXCount; // x0 void *v5; // x21 int v6; // w23 MusicDownloadManager *v7; // x0 void (__fastcall *v9)(SFXBrowser *, __int64, __int64); // x23 __int64 v10; // x0 void (__fastcall *v11)(SFXBrowser *, __int64, __int64); // x23 __int64 v12; // x0 _QWORD *v13; // [xsp+40h] [xbp+40h] BYREF _QWORD v14[2]; // [xsp+48h] [xbp+48h] BYREF __int64 v15; // [xsp+58h] [xbp+58h] BYREF __int64 v16; // [xsp+60h] [xbp+60h] void *v17; // [xsp+68h] [xbp+68h] __int64 v18; // [xsp+70h] [xbp+70h] BYREF __int64 v19; // [xsp+78h] [xbp+78h] void *v20; // [xsp+80h] [xbp+80h] v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(_stack_chk_guard); v14[0] = 0; v14[1] = 0; v13 = v14; CustomSFXCount = (MusicDownloadManager *)MusicDownloadManager::getCustomSFXCount(v3, &v13); v5 = (void *)v14[0]; v6 = (int)CustomSFXCount; if ( v14[0] ) { std::__tree::destroy((__int64)&v13, *(_QWORD **)v14[0]); std::__tree::destroy((__int64)&v13, *(_QWORD **)&byte_8[(_QWORD)v5]); operator delete(v5); } if ( v6 <= 0 ) { v11 = *(void (__fastcall **)(SFXBrowser *, __int64, __int64))(*(_QWORD *)this + 464LL); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "No custom folders to export", 0x1Bu); v18 = 0; v19 = 0; v20 = nullptr; std::string::__init(&v18, &byte_11B8890, 0); v12 = TextAlertPopup::create((char *)&v15, 150, (char *)&v18, 0.9, 0.5); v11(this, v12, 100); if ( (v18 & 1) == 0 ) goto LABEL_7; goto LABEL_10; } v7 = (MusicDownloadManager *)MusicDownloadManager::sharedState(CustomSFXCount); if ( !(unsigned __int8)MusicDownloadManager::exportCustomSFXToFile(v7) ) return _stack_chk_guard; v9 = *(void (__fastcall **)(SFXBrowser *, __int64, __int64))(*(_QWORD *)this + 464LL); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "SFX folders exported", 0x14u); v18 = 0; v19 = 0; v20 = nullptr; std::string::__init(&v18, &byte_11B8890, 0); v10 = TextAlertPopup::create((char *)&v15, 150, (char *)&v18, 0.9, 0.5); v9(this, v10, 100); if ( (v18 & 1) != 0 ) LABEL_10: operator delete(v20); LABEL_7: if ( (v15 & 1) != 0 ) operator delete(v17); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source