// // EditorUI::onSettings from 0x1401ac4f0 to 0x1401ac75a (618 bytes) // // 2 xrefs: // > EditorUI::init @ 0x1401ab286 // > @ 0x140919d0c // // 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:53 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall EditorUI::onSettings(__int64 a1) { __int64 v2; // rcx __int64 v3; // rax __int64 v4; // rbx __int64 v5; // rdi _QWORD *v6; // rsi __int64 v7; // rax __int64 v8; // rdx __int64 (__fastcall *v9)(__int64); // rdx if ( !*(_BYTE *)(a1 + 1660) ) { v2 = *(_QWORD *)(*(_QWORD *)(a1 + 1512) + 2168LL); if ( !v2 || *(_DWORD *)(v2 + 1220) == 2 ) { v3 = EditorSFXManager::sharedState(); EditorSFXManager::playAction(v3, 220); v4 = *(_QWORD *)(a1 + 1512); v5 = *(_QWORD *)(v4 + 3528); v6 = operator new(0x388u); FLAlertLayer::FLAlertLayer((__int64)v6); *v6 = &LevelSettingsLayer::`vftable'; v6[40] = &LevelSettingsLayer::`vftable'; v6[41] = &LevelSettingsLayer::`vftable'; v6[42] = &LevelSettingsLayer::`vftable'; v6[43] = &LevelSettingsLayer::`vftable'; v6[44] = &LevelSettingsLayer::`vftable'; v6[51] = &LevelSettingsLayer::`vftable'; v6[54] = &LevelSettingsLayer::`vftable'; v6[68] = &LevelSettingsLayer::`vftable'; v6[83] = &LevelSettingsLayer::`vftable'; v6[84] = &LevelSettingsLayer::`vftable'; v6[85] = &LevelSettingsLayer::`vftable'; v6[86] = &LevelSettingsLayer::`vftable'; v6[87] = &LevelSettingsLayer::`vftable'; v6[88] = 0; *((_DWORD *)v6 + 178) = 0; v6[90] = 0; v6[91] = 0; v6[92] = 0; v6[93] = 0; v6[94] = 0; v6[95] = 0; v6[96] = 0; v6[97] = 0; v6[98] = 0; v6[99] = 0; v6[100] = 0; v6[101] = 0; v6[102] = 0; v6[103] = 0; v6[104] = 0; v6[105] = 0; v6[106] = 0; v6[107] = 0; v6[108] = 0; v6[109] = 0; v6[110] = 0; v6[111] = 0; *((_BYTE *)v6 + 896) = 0; if ( (unsigned __int8)LevelSettingsLayer::init(v6, v5, v4) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6); } else { (*(void (__fastcall **)(_QWORD *, __int64))(*v6 + 8LL))(v6, 1); v6 = nullptr; } v7 = *(_QWORD *)(a1 + 1512); v8 = v7 + 14648; if ( !v7 ) v8 = 0; v6[106] = v8; v9 = *(__int64 (__fastcall **)(__int64))(*v6 + 1064LL); if ( v9 == FLAlertLayer::show ) FLAlertLayer::show((__int64)v6); else v9((__int64)v6); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source