// // EditorSoundConfigInfoLayer::downloadEditorSoundFinished from 0x140198ba0 to 0x140198dd7 (567 bytes) // // 2 xrefs: // > @ 0x14074dfa0 // > @ 0x140919604 // // 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:27:46 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall EditorSoundConfigInfoLayer::downloadEditorSoundFinished(__int64 a1, __int64 a2) { __int64 v4; // rax __int64 v5; // rcx struct cocos2d::CCObject *v6; // rsi __int64 v7; // rax cocos2d::CCObject *v8; // rbx __int64 v9; // rdx __int64 v10; // rcx __int64 v11; // rcx int v12; // r12d __int64 v13; // rbp cocos2d::CCArray *v14; // rcx unsigned int v15; // ebx struct cocos2d::CCObject *v16; // rax __int64 v17; // rdx __int128 v18; // [rsp+50h] [rbp-68h] BYREF __int64 v19; // [rsp+60h] [rbp-58h] __int64 v20; // [rsp+68h] [rbp-50h] _BYTE v21[32]; // [rsp+70h] [rbp-48h] BYREF if ( !a2 || (v4 = *(_QWORD *)(a1 + 72)) == 0 || *(_DWORD *)(a2 + 320) == *(_DWORD *)(v4 + 320) ) { *(_BYTE *)(a1 + 104) = 0; v5 = *(_QWORD *)(a1 + 96); if ( v5 ) LoadingCircle::fadeAndRemove(v5); v6 = nullptr; *(_QWORD *)(a1 + 96) = 0; if ( a2 ) { v10 = *(_QWORD *)(a1 + 72); if ( v10 ) { GJEditorSoundConfig::copyServerFields(v10, a2); v11 = *(_QWORD *)(a1 + 72); if ( *(_BYTE *)(v11 + 328) ) *(_DWORD *)(v11 + 336) = *(_DWORD *)(v11 + 332); if ( EditorSFXManager::sharedState() ) { v12 = *(_DWORD *)(*(_QWORD *)(a1 + 72) + 320LL); v13 = EditorSFXManager::sharedState(); v14 = *(cocos2d::CCArray **)(v13 + 208); if ( v14 ) { v15 = 0; if ( cocos2d::CCArray::count(v14) ) { while ( 1 ) { v16 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v13 + 208), v15); if ( v16 ) { if ( *((_DWORD *)v16 + 80) == v12 ) break; } if ( ++v15 >= cocos2d::CCArray::count(*(cocos2d::CCArray **)(v13 + 208)) ) goto LABEL_19; } v6 = v16; } } LABEL_19: if ( v6 && v6 != *(struct cocos2d::CCObject **)(a1 + 72) ) GJEditorSoundConfig::copyServerFields(v6, a2); } } EditorSoundConfigInfoLayer::refreshActionButtons((_QWORD *)(a1 - 1000), a2); EditorSoundConfigInfoLayer::buildSummary(a1 - 1000, v17); if ( *(_BYTE *)(a1 + 105) ) { *(_BYTE *)(a1 + 105) = 0; EditorSoundConfigInfoLayer::onFavorite(a1 - 1000); } } else { v18 = 0; *(_QWORD *)&v18 = sub_14003D460(0x20u); v19 = 16; v20 = 31; strcpy((char *)v18, "Download failed."); v7 = sub_14003F4F0((__int64)v21, (__int64)&v18); v8 = FLAlertLayer::create(0, (int)"Error", v7, (__int64)"OK", 0, 1132068864, 0, 0, 1065353216); sub_14003D310((__int64)&v18); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v8 + 1064LL))(v8); EditorSoundConfigInfoLayer::refreshActionButtons((_QWORD *)(a1 - 1000), v9); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source