//
// UILayer::editorPlaytest from 0x6f0ac4 to 0x6f0b1c (88 bytes)
//
// 6 xrefs:
// > UILayer::enableEditorMode @ 0x6f0b64
// > LevelEditorLayer::onPausePlaytest @ 0x78d3c4
// > LevelEditorLayer::onStopPlaytest @ 0x78ddec
// > LevelEditorLayer::onResumePlaytest @ 0x7961a0
// > LevelEditorLayer::onPlaytest @ 0x7962d8
// > ??> @ 0x4f3f0
//
// 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::editorPlaytest(UILayer *this, unsigned __int8 a2)
{
unsigned int v3; // w20
v3 = a2;
UILayer::resetAllButtons(this);
UILayer::toggleMenuVisibility(this, v3);
(*(void (__fastcall **)(UILayer *, _QWORD))(*(_QWORD *)this + 344LL))(this, v3);
*((_BYTE *)this + 627) = v3;
if ( v3 )
UILayer::resolveLevelControls(this);
return UILayer::applyLevelBindings(this);
}