//
// UILayer::editorPlaytest from 0x3fdd96 to 0x3fddca (52 bytes)
//
// 5 xrefs:
// > UILayer::enableEditorMode @ 0x3fddf0
// > LevelEditorLayer::onPausePlaytest @ 0x4623ae
// > LevelEditorLayer::onStopPlaytest @ 0x46298e
// > LevelEditorLayer::onResumePlaytest @ 0x4680ec
// > LevelEditorLayer::onPlaytest @ 0x4681e8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:22 +0000
//
int __fastcall UILayer::editorPlaytest(UILayer *this, int a2)
{
int v4; // r1
int v5; // r2
int v6; // r3
UILayer::resetAllButtons(this);
UILayer::toggleMenuVisibility(this, a2);
(*(void (__fastcall **)(UILayer *, int))(*(_DWORD *)this + 172))(this, a2);
*((_BYTE *)this + 495) = a2;
if ( a2 )
UILayer::resolveLevelControls((cocos2d::CCObject **)this, v4, v5, v6);
return UILayer::applyLevelBindings(this);
}