{"type": "func", "start": 4299089416, "end": 4299089608, "name": "EditorUI::playtestStopped", "pseudocode": "// \n// EditorUI::playtestStopped from 0x1003ee608 to 0x1003ee6c8 (192 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::postUpdate @ 0x10036379c\n// > EditorUI::onStopPlaytest @ 0x1003c7a58\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 __fastcall EditorUI::playtestStopped(EditorUI *a1)\n{\n  float *v2; // x20\n  float v3; // s8\n  float v4; // s8\n  cocos2d::CCSpriteFrameCache *v5; // x0\n  cocos2d::CCSpriteFrame *v6; // x0\n\n  EditorUI::showUI(a1, 1);\n  *(_QWORD *)&a1->m_playerTouchID1 = -1;\n  v2 = (float *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_playtestBtn->getNormalImage)(a1->m_playtestBtn);\n  v3 = v2[108];\n  v4 = v3 * (*(float (__fastcall **)(float *))(*(_QWORD *)v2 + 168LL))(v2);\n  v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n  v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, \"GJ_playEditorBtn_001.png\");\n  (*(void (__fastcall **)(float *, cocos2d::CCSpriteFrame *))(*(_QWORD *)v2 + 1144LL))(v2, v6);\n  (*(void (__fastcall **)(float *, float))(*(_QWORD *)v2 + 160LL))(v2, v4 / v2[108]);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))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 0x1003ee608 to 0x1003ee6c8 (192 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::postUpdate @ 0x10036379c\n; > EditorUI::onStopPlaytest @ 0x1003c7a58\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             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x1003ee608\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003ee60c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003ee610\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003ee614\nMOV             X19, X0                                                ; +0x10, 0x1003ee618\nMOV             W1, #1                                                 ; +0x14, 0x1003ee61c\nBL              EditorUI__showUI                                       ; +0x18, 0x1003ee620\nADD             X8, X19, #0x264                                        ; +0x1c, 0x1003ee624\nMOV             X9, #0xFFFFFFFFFFFFFFFF                                ; +0x20, 0x1003ee628\nSTR             X9, [X8]                                               ; +0x24, 0x1003ee62c\nLDR             X0, [X19,#0x388]                                       ; +0x28, 0x1003ee630\nLDR             X8, [X0]                                               ; +0x2c, 0x1003ee634\nLDR             X8, [X8,#0x420]                                        ; +0x30, 0x1003ee638\nBLR             X8                                                     ; +0x34, 0x1003ee63c\nMOV             X20, X0                                                ; +0x38, 0x1003ee640\nLDR             S8, [X0,#0x1B0]                                        ; +0x3c, 0x1003ee644\nLDR             X8, [X0]                                               ; +0x40, 0x1003ee648\nLDR             X8, [X8,#0xA8]                                         ; +0x44, 0x1003ee64c\nBLR             X8                                                     ; +0x48, 0x1003ee650\nFMUL            S8, S8, S0                                             ; +0x4c, 0x1003ee654\nBL              cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache    ; +0x50, 0x1003ee658\nADRL            X1, aGjPlayeditorbt; \"GJ_playEditorBtn_001.png\"        ; +0x54, 0x1003ee65c\nBL              cocos2d__CCSpriteFrameCache__spriteFrameByName         ; +0x5c, 0x1003ee664\nMOV             X1, X0                                                 ; +0x60, 0x1003ee668\nLDR             X8, [X20]                                              ; +0x64, 0x1003ee66c\nLDR             X8, [X8,#0x478]                                        ; +0x68, 0x1003ee670\nMOV             X0, X20                                                ; +0x6c, 0x1003ee674\nBLR             X8                                                     ; +0x70, 0x1003ee678\nLDR             S0, [X20,#0x1B0]                                       ; +0x74, 0x1003ee67c\nLDR             X8, [X20]                                              ; +0x78, 0x1003ee680\nLDR             X8, [X8,#0xA0]                                         ; +0x7c, 0x1003ee684\nFDIV            S0, S8, S0                                             ; +0x80, 0x1003ee688\nMOV             X0, X20                                                ; +0x84, 0x1003ee68c\nBLR             X8                                                     ; +0x88, 0x1003ee690\nLDR             X0, [X19,#0x390]                                       ; +0x8c, 0x1003ee694\nLDR             X8, [X0]                                               ; +0x90, 0x1003ee698\nLDR             X8, [X8,#0x148]                                        ; +0x94, 0x1003ee69c\nMOV             W1, #0                                                 ; +0x98, 0x1003ee6a0\nBLR             X8                                                     ; +0x9c, 0x1003ee6a4\nMOV             X0, X19                                                ; +0xa0, 0x1003ee6a8\nBL              EditorUI__updatePlaybackBtn                            ; +0xa4, 0x1003ee6ac\nLDR             S0, [X19,#0x584]                                       ; +0xa8, 0x1003ee6b0\nMOV             X0, X19                                                ; +0xac, 0x1003ee6b4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xb0, 0x1003ee6b8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xb4, 0x1003ee6bc\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0xb8, 0x1003ee6c0\nB               EditorUI__updateZoom                                   ; +0xbc, 0x1003ee6c4", "xrefs": ["LevelEditorLayer::postUpdate @ 0x10036379c", "EditorUI::onStopPlaytest @ 0x1003c7a58"], "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"}