//
// EditorUI::playtestStopped from 0x1003ee608 to 0x1003ee6c8 (192 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::postUpdate @ 0x10036379c
// > EditorUI::onStopPlaytest @ 0x1003c7a58
//
// 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 __fastcall EditorUI::playtestStopped(EditorUI *a1)
{
float *v2; // x20
float v3; // s8
float v4; // s8
cocos2d::CCSpriteFrameCache *v5; // x0
cocos2d::CCSpriteFrame *v6; // x0
EditorUI::showUI(a1, 1);
*(_QWORD *)&a1->m_playerTouchID1 = -1;
v2 = (float *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_playtestBtn->getNormalImage)(a1->m_playtestBtn);
v3 = v2[108];
v4 = v3 * (*(float (__fastcall **)(float *))(*(_QWORD *)v2 + 168LL))(v2);
v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, "GJ_playEditorBtn_001.png");
(*(void (__fastcall **)(float *, cocos2d::CCSpriteFrame *))(*(_QWORD *)v2 + 1144LL))(v2, v6);
(*(void (__fastcall **)(float *, float))(*(_QWORD *)v2 + 160LL))(v2, v4 / v2[108]);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_playtestStopBtn->setVisible)(a1->m_playtestStopBtn, 0);
EditorUI::updatePlaybackBtn(a1);
EditorUI::updateZoom(a1, a1->m_editorZoom);
}