// // EditorSoundConfigInfoLayer::onDeleteServer from 0xcce468 to 0xcce5f4 (396 bytes) // // 3 xrefs: // > @ 0xb27e0 // > EditorSoundConfigInfoLayer::init @ 0xcd2034 // > @ 0x1545180 // // 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:25 +0000 // __int64 __fastcall EditorSoundConfigInfoLayer::onDeleteServer(EditorSoundConfigInfoLayer *this, cocos2d::CCObject *a2) { __int64 v3; // x0 char *v4; // x20 __int64 v5; // x1 __int64 v6; // x0 __int64 v8; // x20 __int64 v9; // [xsp+40h] [xbp+40h] BYREF __int64 v10; // [xsp+48h] [xbp+48h] void *v11; // [xsp+50h] [xbp+50h] if ( EditorSoundConfigInfoLayer::isOwner(this) ) { v9 = 0; v10 = 0; v11 = nullptr; std::string::__init(&v9, "Are you sure you want to delete this sound pack from the server?", 0x48u); v8 = FLAlertLayer::create( (__int64)this + 1032, (cocos2d::CCLabelBMFont *)"Delete Sound Pack", (char *)&v9, (ButtonSprite *)"Cancel", (ButtonSprite *)"Delete", 380.0); if ( (v9 & 1) != 0 ) operator delete(v11); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 72LL))(v8, 7002); (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 1312LL))(v8); } else { v3 = *((_QWORD *)this + 136); v9 = 0; v4 = (char *)this + 1040; v10 = 0; v11 = nullptr; if ( (*(_BYTE *)(v3 + 376) & 1) != 0 ) { std::string::__init(&v9, *(void **)(v3 + 392), *(_QWORD *)(v3 + 384)); } else { v5 = *(_QWORD *)(v3 + 384); v9 = *(_QWORD *)(v3 + 376); v10 = v5; v11 = *(void **)(v3 + 392); } v6 = AdminActionConfirmPopup::createContentDelete((__int64)v4, 7002, "Delete Sound Pack", (char *)&v9, 9u); (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6); if ( (v9 & 1) != 0 ) operator delete(v11); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source