//
// UILayer::enableEditorMode from 0x6f0b1c to 0x6f0b68 (76 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::init @ 0x7ae92c
// > ??> @ 0xdde60
//
// 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 12:51:48 +0000
//
__int64 __fastcall UILayer::enableEditorMode(UILayer *this)
{
__int64 v2; // x2
v2 = *((_QWORD *)this + 71);
*((_BYTE *)this + 626) = 1;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, 0);
UILayer::disableMenu(this);
return UILayer::editorPlaytest(this, 0);
}