// // EditorSoundConfigUploadPopup::uploadEditorSoundFinished from 0xcd4718 to 0xcd4904 (492 bytes) // // 3 xrefs: // > `non-virtual thunk to'EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0xcd4908 // > @ 0x65ec0 // > @ 0x15000d0 // // 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:06:29 +0000 // __int64 __fastcall EditorSoundConfigUploadPopup::uploadEditorSoundFinished( EditorSoundConfigUploadPopup *this, unsigned int a2) { cocos2d::CCNode **v4; // x0 __int64 v5; // x0 EditorSFXManager *v6; // x0 EditorSFXManager *v7; // x0 const char *v8; // x1 cocos2d::CCString *v9; // x0 char *CString; // x0 __int64 v11; // x2 EditorSoundConfigUploadPopup *v12; // x0 EditorSoundConfigInfoLayer *v13; // x19 const char *v14; // x1 size_t v15; // x0 __int64 v16; // x0 char *v18; // [xsp+38h] [xbp+38h] __int64 v19; // [xsp+48h] [xbp+48h] BYREF __int64 v20; // [xsp+50h] [xbp+50h] void *v21; // [xsp+58h] [xbp+58h] __int64 v22[2]; // [xsp+60h] [xbp+60h] BYREF void *v23; // [xsp+70h] [xbp+70h] v4 = *((cocos2d::CCNode ***)this + 128); *((_BYTE *)this + 1056) = 0; if ( v4 ) LoadingCircle::fadeAndRemove(v4); v5 = *((_QWORD *)this + 133); *((_QWORD *)this + 128) = 0; v6 = (EditorSFXManager *)*(unsigned int *)(v5 + 320); if ( (int)v6 > 0 ) { v7 = (EditorSFXManager *)EditorSFXManager::sharedState(v6); EditorSFXManager::attachUploadedSoundID(v7, *(_DWORD *)(*((_QWORD *)this + 133) + 320LL), a2); v8 = (const char *)*((unsigned int *)this + 280); if ( (_DWORD)v8 ) { v19 = 0; v20 = 0; v21 = nullptr; if ( (int)v8 <= 0 ) goto LABEL_19; goto LABEL_6; } *(_DWORD *)(*((_QWORD *)this + 133) + 360LL) = *((_DWORD *)this + 277); } v8 = (const char *)*((unsigned int *)this + 280); v19 = 0; v20 = 0; v21 = nullptr; if ( (int)v8 <= 0 ) goto LABEL_19; LABEL_6: if ( a2 != (_DWORD)v8 ) { 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); goto LABEL_8; } LABEL_19: v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Sound pack uploaded.\nPack ID: %i", (const char *)a2); LABEL_8: CString = (char *)cocos2d::CCString::getCString(v9); std::string::assign(&v19, CString); v11 = *(_QWORD *)this; v12 = this; v13 = *((EditorSoundConfigInfoLayer **)this + 141); (*(void (__fastcall **)(EditorSoundConfigUploadPopup *, _QWORD))(v11 + 1368))(v12, 0); if ( v13 ) EditorSoundConfigInfoLayer::reloadWindow(v13); v14 = (char *)&v19 + 1; if ( (v19 & 1) != 0 ) v14 = (const char *)v21; v18 = (char *)v14; v22[0] = 0; v22[1] = 0; v23 = nullptr; v15 = strlen(v14); std::string::__init(v22, v18, v15); v16 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Upload Complete", (char *)v22, (ButtonSprite *)"OK", nullptr); (*(void (__fastcall **)(__int64))(*(_QWORD *)v16 + 1312LL))(v16); if ( (v22[0] & 1) != 0 ) operator delete(v23); if ( (v19 & 1) != 0 ) operator delete(v21); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source