{"type": "func", "start": 6906284, "end": 6906492, "name": "EditorUI::playtestStopped", "pseudocode": "// \n// EditorUI::playtestStopped from 0x6961ac to 0x69627c (208 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::postUpdate @ 0x66ec54\n// > EditorUI::onStopPlaytest @ 0x6962bc\n// > <???> @ 0x7d5c8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorUI::playtestStopped(EditorUI *a1)\n{\n  CCMenuItemSpriteExtra *m_playtestBtn; // x1\n  float *v3; // x0\n  float v4; // s8\n  float *v5; // x20\n  float v6; // s8\n  void (__fastcall *v7)(float *, cocos2d::CCSpriteFrame *); // x22\n  cocos2d::CCSpriteFrameCache *v8; // x0\n  cocos2d::CCSpriteFrame *v9; // x0\n\n  EditorUI::showUI(a1, 1);\n  m_playtestBtn = a1->m_playtestBtn;\n  a1->m_playerTouchID1 = -1;\n  a1->m_playerTouchID2 = -1;\n  v3 = (float *)m_playtestBtn->getNormalImage(m_playtestBtn);\n  v4 = v3[108];\n  v5 = v3;\n  v6 = v4 * (*(float (__fastcall **)(float *))(*(_QWORD *)v3 + 168LL))(v3);\n  v7 = *(void (__fastcall **)(float *, cocos2d::CCSpriteFrame *))(*(_QWORD *)v5 + 1144LL);\n  v8 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n  v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, \"GJ_playEditorBtn_001.png\");\n  v7(v5, v9);\n  (*(void (__fastcall **)(float *, float))(*(_QWORD *)v5 + 160LL))(v5, v6 / v5[108]);\n  a1->m_playtestStopBtn->setVisible(a1->m_playtestStopBtn, 0);\n  EditorUI::updatePlaybackBtn(a1);\n  EditorUI::updateZoom(a1, a1->m_editorZoom);\n}", "assembly": "; \n; EditorUI::playtestStopped from 0x6961ac to 0x69627c (208 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::postUpdate @ 0x66ec54\n; > EditorUI::onStopPlaytest @ 0x6962bc\n; > <???> @ 0x7d5c8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x6961ac\nMOV             W1, #1; bool                                           ; +0x4, 0x6961b0\nMOV             X29, SP                                                ; +0x8, 0x6961b4\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0xc, 0x6961b8\nMOV             X19, X0                                                ; +0x10, 0x6961bc\nSTP             X21, X22, [SP,#0x40+var_20]                            ; +0x14, 0x6961c0\nSTR             D8, [SP,#0x40+var_10]                                  ; +0x18, 0x6961c4\nBL              _ZN8EditorUI6showUIEb; EditorUI::showUI(bool)          ; +0x1c, 0x6961c8\nLDR             X1, [X19,#0x398]                                       ; +0x20, 0x6961cc\nMOV             W0, #0xFFFFFFFF                                        ; +0x24, 0x6961d0\nSTR             W0, [X19,#0x274]                                       ; +0x28, 0x6961d4\nSTR             W0, [X19,#0x278]                                       ; +0x2c, 0x6961d8\nMOV             X0, X1                                                 ; +0x30, 0x6961dc\nLDR             X1, [X1]                                               ; +0x34, 0x6961e0\nLDR             X1, [X1,#0x420]                                        ; +0x38, 0x6961e4\nBLR             X1                                                     ; +0x3c, 0x6961e8\nLDR             X1, [X0]                                               ; +0x40, 0x6961ec\nLDR             S8, [X0,#0x1B0]                                        ; +0x44, 0x6961f0\nMOV             X20, X0                                                ; +0x48, 0x6961f4\nLDR             X1, [X1,#0xA8]                                         ; +0x4c, 0x6961f8\nBLR             X1                                                     ; +0x50, 0x6961fc\nFMUL            S8, S8, S0                                             ; +0x54, 0x696200\nLDR             X0, [X20]; this                                        ; +0x58, 0x696204\nLDR             X22, [X0,#0x478]                                       ; +0x5c, 0x696208\nBL              _ZN7cocos2d18CCSpriteFrameCache22sharedSpriteFrameCacheEv; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x60, 0x69620c\nADRL            X1, aGjPlayeditorbt; \"GJ_playEditorBtn_001.png\"        ; +0x64, 0x696210\nBL              _ZN7cocos2d18CCSpriteFrameCache17spriteFrameByNameEPKc; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const*) ; +0x6c, 0x696218\nMOV             X1, X0                                                 ; +0x70, 0x69621c\nMOV             X0, X20                                                ; +0x74, 0x696220\nBLR             X22                                                    ; +0x78, 0x696224\nLDR             S0, [X20,#0x1B0]                                       ; +0x7c, 0x696228\nLDR             X1, [X20]                                              ; +0x80, 0x69622c\nMOV             X0, X20                                                ; +0x84, 0x696230\nFDIV            S0, S8, S0                                             ; +0x88, 0x696234\nLDR             X1, [X1,#0xA0]                                         ; +0x8c, 0x696238\nBLR             X1                                                     ; +0x90, 0x69623c\nLDR             X2, [X19,#0x3A0]                                       ; +0x94, 0x696240\nMOV             W1, #0                                                 ; +0x98, 0x696244\nMOV             X0, X2                                                 ; +0x9c, 0x696248\nLDR             X2, [X2]                                               ; +0xa0, 0x69624c\nLDR             X2, [X2,#0x148]                                        ; +0xa4, 0x696250\nBLR             X2                                                     ; +0xa8, 0x696254\nMOV             X0, X19; this                                          ; +0xac, 0x696258\nBL              _ZN8EditorUI17updatePlaybackBtnEv; EditorUI::updatePlaybackBtn(void) ; +0xb0, 0x69625c\nLDR             D8, [SP,#0x40+var_10]                                  ; +0xb4, 0x696260\nMOV             X0, X19; this                                          ; +0xb8, 0x696264\nLDR             S0, [X19,#0x594]; float                                ; +0xbc, 0x696268\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0xc0, 0x69626c\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xc4, 0x696270\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xc8, 0x696274\nB               _ZN8EditorUI10updateZoomEf; EditorUI::updateZoom(float) ; +0xcc, 0x696278", "xrefs": ["LevelEditorLayer::postUpdate @ 0x66ec54", "EditorUI::onStopPlaytest @ 0x6962bc", "<???> @ 0x7d5c8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}