//
// EditorUI::onStopPlaytest from 0x100008950 to 0x1000089a3 (83 bytes)
//
// 2 xrefs:
// > EditorUI::handleAction @ 0x10060b83a
// > EditorUI::init @ 0x100006285
//
// This function is hookable on this platform (idp: pc, 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:18:48 +0000
//
__int64 __fastcall EditorUI::onStopPlaytest(__int64 a1)
{
__int64 v1; // rax
v1 = EditorSFXManager::sharedState(a1);
EditorSFXManager::playAction_1(v1, 211);
EditorUI::showUI(a1, 1);
if ( *(_BYTE *)(a1 + 616) == 1 )
EditorUI::onPlayback(a1);
LevelEditorLayer::onStopPlaytest(*(_QWORD *)(a1 + 1440));
return EditorUI::playtestStopped(a1);
}