//
// UILayer::editorPlaytest from 0x100049be0 to 0x100049c30 (80 bytes)
//
// 5 xrefs:
// > UILayer::enableEditorMode @ 0x100049bc8
// > LevelEditorLayer::onPlaytest @ 0x100362ab4
// > LevelEditorLayer::onPausePlaytest @ 0x100363048
// > LevelEditorLayer::onResumePlaytest @ 0x100363110
// > LevelEditorLayer::onStopPlaytest @ 0x100363248
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// local variable allocation has failed, the output may be wrong!
void __fastcall UILayer::editorPlaytest(UILayer *a1, bool a2)
{
_BOOL8 v2; // x19
v2 = a2;
*(_QWORD *)&a1->m_p1TouchId = -1;
*(_WORD *)&a1->m_p1Jumping = 0;
a1->m_checkpointBtnDown = 0;
UILayer::resetUINodeState(a1);
UILayer::toggleMenuVisibility(a1, v2);
((void (__fastcall *)(UILayer *, _BOOL8))a1->setVisible)(a1, v2);
}