// // EditorSoundConfigUploadPopup::uploadEditorSoundFinished from 0x789234 to 0x789358 (292 bytes) // // 1 xrefs: // > `non-virtual thunk to'EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x789370 // // 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:35 +0000 // int __fastcall EditorSoundConfigUploadPopup::uploadEditorSoundFinished( EditorSoundConfigUploadPopup *this, const char *a2, int a3) { cocos2d::CCNode **v5; // r0 int v6; // r3 cocos2d::CCArray **v7; // r0 const char *v8; // r1 cocos2d::CCString *v9; // r0 char *CString; // r0 EditorSoundConfigInfoLayer *v11; // r7 const char *v12; // r8 size_t v13; // r0 int *v14; // r0 char v16[4]; // [sp+Ch] [bp-1Ch] BYREF int v17; // [sp+10h] [bp-18h] const char *v18; // [sp+14h] [bp-14h] int v19[3]; // [sp+18h] [bp-10h] BYREF *((_BYTE *)this + 732) = 0; v5 = *((cocos2d::CCNode ***)this + 179); if ( v5 ) v5 = (cocos2d::CCNode **)LoadingCircle::fadeAndRemove(v5, (int)a2, a3); v6 = *((_DWORD *)this + 184); *((_DWORD *)this + 179) = 0; if ( *(int *)(v6 + 268) > 0 ) { v7 = (cocos2d::CCArray **)EditorSFXManager::sharedState((EditorSFXManager *)v5); EditorSFXManager::attachUploadedSoundID(v7, *(_DWORD *)(*((_DWORD *)this + 184) + 268), (int)a2); if ( !*((_DWORD *)this + 192) ) *(_DWORD *)(*((_DWORD *)this + 184) + 308) = *((_DWORD *)this + 190); } v8 = *((const char **)this + 192); *(_DWORD *)v16 = 0; v17 = 0; v18 = nullptr; if ( (int)v8 <= 0 || a2 == v8 ) v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Sound pack uploaded.\nPack ID: %i", a2); else v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Sound pack #%i was not found on the server.\n" "Uploaded as a new pack: %i", v8, a2); CString = (char *)cocos2d::CCString::getCString(v9); std::string::assign((int *)v16, CString); v11 = *((EditorSoundConfigInfoLayer **)this + 193); (*(void (__fastcall **)(EditorSoundConfigUploadPopup *, _DWORD))(*(_DWORD *)this + 684))(this, 0); if ( v11 ) EditorSoundConfigInfoLayer::reloadWindow(v11); if ( (v16[0] & 1) != 0 ) v12 = v18; else v12 = &v16[1]; memset(v19, 0, sizeof(v19)); v13 = strlen(v12); std::string::__init(v19, v12, v13); v14 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Upload Complete", (int)v19, (ButtonSprite *)"OK", nullptr); (*(void (__fastcall **)(int *))(*v14 + 656))(v14); std::string::~string((int)v19); return std::string::~string((int)v16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source