// // EditorSoundConfigInfoLayer::deleteEditorSoundFailed from 0xcccfe8 to 0xccd114 (300 bytes) // // 3 xrefs: // > `non-virtual thunk to'EditorSoundConfigInfoLayer::deleteEditorSoundFailed @ 0xccd118 // > @ 0x5ae08 // > @ 0x14fee70 // // 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::deleteEditorSoundFailed( EditorSoundConfigInfoLayer *this, int a2, int a3) { __int64 v3; // x0 const char *v5; // x1 char *v6; // x22 size_t v7; // x21 unsigned __int64 v8; // x0 __int64 v9; // x20 __int64 v10; // x0 const char *v11; // [xsp+38h] [xbp+38h] _QWORD v12[2]; // [xsp+40h] [xbp+40h] BYREF void *v13; // [xsp+50h] [xbp+50h] v3 = *((_QWORD *)this + 136); if ( !v3 || *(_DWORD *)(v3 + 316) == a2 ) { if ( a3 == -21 ) { v5 = "Featured or popular sound packs cannot be deleted."; v6 = "Cannot Delete"; } else { v5 = "Could not delete this sound pack from the server."; v6 = "Delete Failed"; } v11 = v5; v7 = strlen(v5); v8 = (v7 + 16) & 0xFFFFFFFFFFFFFFF0LL; v9 = v8 | 1; v12[1] = v7; v13 = (void *)operator new(v8); v12[0] = v9; *((_BYTE *)memcpy(v13, v11, v7) + v7) = 0; v10 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)v6, (char *)v12, (ButtonSprite *)"OK", nullptr); (*(void (__fastcall **)(__int64))(*(_QWORD *)v10 + 1312LL))(v10); if ( (v12[0] & 1) != 0 ) operator delete(v13); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source