// // EditorUI::playtestStopped from 0x6961ac to 0x69627c (208 bytes) // // 3 xrefs: // > LevelEditorLayer::postUpdate @ 0x66ec54 // > EditorUI::onStopPlaytest @ 0x6962bc // > @ 0x7d5c8 // // 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; // x1 float *v3; // x0 float v4; // s8 float *v5; // x20 float v6; // s8 void (__fastcall *v7)(float *, cocos2d::CCSpriteFrame *); // x22 cocos2d::CCSpriteFrameCache *v8; // x0 cocos2d::CCSpriteFrame *v9; // x0 EditorUI::showUI(a1, 1); m_playtestBtn = a1->m_playtestBtn; a1->m_playerTouchID1 = -1; a1->m_playerTouchID2 = -1; v3 = (float *)m_playtestBtn->getNormalImage(m_playtestBtn); v4 = v3[108]; v5 = v3; v6 = v4 * (*(float (__fastcall **)(float *))(*(_QWORD *)v3 + 168LL))(v3); v7 = *(void (__fastcall **)(float *, cocos2d::CCSpriteFrame *))(*(_QWORD *)v5 + 1144LL); v8 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, "GJ_playEditorBtn_001.png"); v7(v5, v9); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v5 + 160LL))(v5, v6 / v5[108]); a1->m_playtestStopBtn->setVisible(a1->m_playtestStopBtn, 0); EditorUI::updatePlaybackBtn(a1); EditorUI::updateZoom(a1, a1->m_editorZoom); }
GD Web Decomp Icon

GD Web Decomp

Raw Source