// // SFXBrowser::onReplaceSetup from 0x14061d400 to 0x14061d5be (446 bytes) // // 2 xrefs: // > SFXBrowser::init @ 0x14061818a // > @ 0x1409302cc // // 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:35:21 +0000 // // Hidden C++ exception states: #wind=4 __int64 __fastcall SFXBrowser::onReplaceSetup(__int64 a1) { __int64 v2; // rax __int64 result; // rax int v4; // ebx __int64 v5; // rax cocos2d::CCObject *v6; // rbx __int128 v7; // [rsp+50h] [rbp-48h] BYREF __int64 v8; // [rsp+60h] [rbp-38h] __int64 v9; // [rsp+68h] [rbp-30h] _BYTE v10[40]; // [rsp+70h] [rbp-28h] BYREF void *v11; // [rsp+B0h] [rbp+18h] v2 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v11 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = qword_14090BFD0; } result = *(_QWORD *)(v2 + 568); if ( result ) { result = *(_QWORD *)(result + 3528); if ( result ) { if ( *(_QWORD *)(result + 680) ) { v4 = a1 + 696; if ( !a1 ) v4 = 0; v7 = 0; *(_QWORD *)&v7 = sub_14003D460(0x70u); v8 = 104; v9 = 111; strcpy( (char *)v7, "This deletes your custom SFX folders and replaces them with this level's shared setup. Continue?"); v5 = sub_14003F4F0((__int64)v10, (__int64)&v7); v6 = FLAlertLayer::create( v4, (int)"Replace SFX Folders", v5, (__int64)"Cancel", (__int64)"Replace", 1133903872, 0, 0, 1065353216); sub_14003D310((__int64)&v7); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v6 + 64LL))(v6, 11); return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v6 + 1064LL))(v6); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source