//
// EditorUI::playtestStopped from 0x140112570 to 0x14011263d (205 bytes)
//
// 5 xrefs:
// > EditorUI::onPause @ 0x1400e1a51
// > EditorUI::onStopPlaytest @ 0x140112567
// > EditorUI::keyDown @ 0x140126759
// > LevelEditorLayer::postUpdate @ 0x1402e10d1
// > ??> @ 0x1406c900c
//
// 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
//
void EditorUI::playtestStopped(EditorUI *a1)
{
CCMenuItemSpriteExtra *m_playtestBtn; // rcx
__int64 v3; // rdi
__int64 v4; // rbx
__int64 v5; // rcx
cocos2d::CCSpriteFrameCache *v6; // rax
struct cocos2d::CCSpriteFrame *v7; // rax
EditorUI::showUI(a1, 1);
m_playtestBtn = a1->m_playtestBtn;
*(_QWORD *)&a1->m_playerTouchID1 = -1;
v3 = (__int64)m_playtestBtn->getNormalImage(m_playtestBtn);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 168LL))(v3);
v4 = *(_QWORD *)v3;
v6 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v5);
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, "GJ_playEditorBtn_001.png");
(*(void (__fastcall **)(__int64, struct cocos2d::CCSpriteFrame *))(v4 + 992))(v3, v7);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3);
a1->m_playtestStopBtn->setVisible(a1->m_playtestStopBtn, 0);
EditorUI::updatePlaybackBtn(a1);
EditorUI::updateZoom(a1, a1->m_editorZoom);
}