// // EditorSoundsSettingsPopup::onDownloadAll from 0x78bc20 to 0x78bd10 (240 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:59:37 +0000 // char **__fastcall EditorSoundsSettingsPopup::onDownloadAll(EditorSoundsSettingsPopup *this, cocos2d::CCObject *a2) { int v3; // r0 EditorSFXManager *v4; // r0 int *v5; // r5 int *v6; // r0 EditorSFXManager *v7; // r0 size_t v8; // r0 char *v10; // [sp+8h] [bp+0h] BYREF char *v11; // [sp+Ch] [bp+4h] int v12[3]; // [sp+14h] [bp+Ch] BYREF int v13[3]; // [sp+20h] [bp+18h] BYREF char v14[128]; // [sp+2Ch] [bp+24h] BYREF v3 = EditorSFXManager::sharedState(this); EditorSFXManager::collectAllSFXIDs((EditorSFXManager *)&v10, v3); v4 = (EditorSFXManager *)EditorSoundsSettingsPopup::onClose(this, nullptr); if ( v10 == v11 ) { v5 = v12; memset(v12, 0, sizeof(v12)); std::string::__init(v12, "No SFX IDs to download.", 0x17u); v6 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Download", (int)v12, (ButtonSprite *)"OK", nullptr, 260.0); } else { v7 = (EditorSFXManager *)EditorSFXManager::sharedState(v4); EditorSFXManager::downloadAllMissing(v7); sub_993B88( v14, 128, "Requested download for %u SFX. Missing files will be fetched in the background.", (v11 - v10) >> 2); memset(v13, 0, sizeof(v13)); v5 = v13; v8 = strlen(v14); std::string::__init(v13, v14, v8); v6 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Download", (int)v13, (ButtonSprite *)"OK", nullptr, 320.0); } (*(void (__fastcall **)(int *))(*v6 + 656))(v6); std::string::~string((int)v5); return std::__vector_base::~__vector_base(&v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source