// // EditorSoundConfigInfoLayer::onDeleteServer from 0x140197ac0 to 0x140197cb5 (501 bytes) // // 2 xrefs: // > EditorSoundConfigInfoLayer::init @ 0x1401942f6 // > @ 0x1409195d4 // // 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:45 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall EditorSoundConfigInfoLayer::onDeleteServer(__int64 a1) { int v2; // ebx char *v3; // rax int v4; // ebx __int64 v5; // rax cocos2d::CCObject *v6; // rbx _BYTE v7[32]; // [rsp+60h] [rbp-58h] BYREF __int128 v8; // [rsp+80h] [rbp-38h] BYREF __int64 v9; // [rsp+90h] [rbp-28h] __int64 v10; // [rsp+98h] [rbp-20h] if ( EditorSoundConfigInfoLayer::isOwner(a1) ) { v4 = a1 + 1016; if ( !a1 ) v4 = 0; v8 = 0; *(_QWORD *)&v8 = sub_14003D460(0x50u); v9 = 72; v10 = 79; strcpy((char *)v8, "Are you sure you want to delete this sound pack from the server?"); v5 = sub_14003F4F0((__int64)v7, (__int64)&v8); v6 = FLAlertLayer::create( v4, (int)&xmmword_140720410, v5, (__int64)"Cancel", (__int64)"Delete", 1136525312, 0, 0, 1065353216); sub_14003D310((__int64)&v8); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v6 + 64LL))(v6, 7002); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v6 + 1064LL))(v6); } else { v2 = a1 + 1024; if ( !a1 ) v2 = 0; sub_14003F4F0((__int64)&v8, *(_QWORD *)(a1 + 1072) + 384LL); v3 = AdminActionConfirmPopup::createContentDelete(v2, 7002, (int)&xmmword_140720410, (size_t *)&v8, 9u); (*(void (__fastcall **)(char *))(*(_QWORD *)v3 + 1064LL))(v3); sub_14003D310((__int64)&v8); } }