//
// UILayer::enableEditorMode from 0x100051760 to 0x1000517b4 (84 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::init @ 0x1003f6728
//
// 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 10:57:43 +0000
//
__int64 __fastcall UILayer::enableEditorMode(__int64 a1)
{
*(_BYTE *)(a1 + 626) = 1;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 568) + 344LL))(*(_QWORD *)(a1 + 568), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 568) + 1056LL))(*(_QWORD *)(a1 + 568), 0);
return UILayer::editorPlaytest(a1, 0);
}