//
// EditorUI::onStopPlaytest from 0x1004715a8 to 0x1004715fc (84 bytes)
//
// 3 xrefs:
// > EditorUI::handleAction @ 0x100162648
// > EditorUI::onPause @ 0x1004718b0
// > EditorUI::init @ 0x10046f3e0
//
// 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 11:05:38 +0000
//
__int64 __fastcall EditorUI::onStopPlaytest(__int64 a1, __n128 a2)
{
__int64 v3; // x0
v3 = EditorSFXManager::sharedState(a2);
EditorSFXManager::playAction_1(v3, 211);
EditorUI::showUI(a1, 1);
if ( *(_BYTE *)(a1 + 616) == 1 )
EditorUI::onPlayback(a1);
LevelEditorLayer::onStopPlaytest(*(_QWORD *)(a1 + 1440));
return EditorUI::playtestStopped(a1);
}