{"type": "func", "start": 5369832816, "end": 5369833021, "name": "EditorUI::playtestStopped", "pseudocode": "// \n// EditorUI::playtestStopped from 0x140112570 to 0x14011263d (205 bytes)\n// \n// 5 xrefs:\n// > EditorUI::onPause @ 0x1400e1a51\n// > EditorUI::onStopPlaytest @ 0x140112567\n// > EditorUI::keyDown @ 0x140126759\n// > LevelEditorLayer::postUpdate @ 0x1402e10d1\n// > <???> @ 0x1406c900c\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; // rcx\n  __int64 v3; // rdi\n  __int64 v4; // rbx\n  __int64 v5; // rcx\n  cocos2d::CCSpriteFrameCache *v6; // rax\n  struct cocos2d::CCSpriteFrame *v7; // rax\n\n  EditorUI::showUI(a1, 1);\n  m_playtestBtn = a1->m_playtestBtn;\n  *(_QWORD *)&a1->m_playerTouchID1 = -1;\n  v3 = (__int64)m_playtestBtn->getNormalImage(m_playtestBtn);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 168LL))(v3);\n  v4 = *(_QWORD *)v3;\n  v6 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v5);\n  v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, \"GJ_playEditorBtn_001.png\");\n  (*(void (__fastcall **)(__int64, struct cocos2d::CCSpriteFrame *))(v4 + 992))(v3, v7);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3);\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 0x140112570 to 0x14011263d (205 bytes)\n; \n; 5 xrefs:\n; > EditorUI::onPause @ 0x1400e1a51\n; > EditorUI::onStopPlaytest @ 0x140112567\n; > EditorUI::keyDown @ 0x140126759\n; > LevelEditorLayer::postUpdate @ 0x1402e10d1\n; > <???> @ 0x1406c900c\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140112570\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140112575\npush    rdi                                                            ; +0xa, 0x14011257a\nsub     rsp, 30h                                                       ; +0xb, 0x14011257b\nmov     dl, 1                                                          ; +0xf, 0x14011257f\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x11, 0x140112581\nmov     rsi, rcx                                                       ; +0x16, 0x140112586\ncall    EditorUI__showUI                                               ; +0x19, 0x140112589\nmov     rcx, [rsi+3A0h]                                                ; +0x1e, 0x14011258e\nmov     qword ptr [rsi+27Ch], 0FFFFFFFFFFFFFFFFh                       ; +0x25, 0x140112595\nmov     rax, [rcx]                                                     ; +0x30, 0x1401125a0\ncall    qword ptr [rax+3A8h]                                           ; +0x33, 0x1401125a3\nmov     rcx, rax                                                       ; +0x39, 0x1401125a9\nmov     rdi, rax                                                       ; +0x3c, 0x1401125ac\nmov     rdx, [rax]                                                     ; +0x3f, 0x1401125af\ncall    qword ptr [rdx+0A8h]                                           ; +0x42, 0x1401125b2\nmov     rbx, [rdi]                                                     ; +0x48, 0x1401125b8\nmovaps  xmm6, xmm0                                                     ; +0x4b, 0x1401125bb\nmulss   xmm6, dword ptr [rdi+1B0h]                                     ; +0x4e, 0x1401125be\ncall    cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x56, 0x1401125c6\nmov     rcx, rax                                                       ; +0x5c, 0x1401125cc\nlea     rdx, aGjPlayeditorbt; \"GJ_playEditorBtn_001.png\"               ; +0x5f, 0x1401125cf\ncall    cs:?spriteFrameByName@CCSpriteFrameCache@cocos2d@@QEAAPEAVCCSpriteFrame@2@PEBD@Z; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const *) ; +0x66, 0x1401125d6\nmov     rdx, rax                                                       ; +0x6c, 0x1401125dc\nmov     rcx, rdi                                                       ; +0x6f, 0x1401125df\ncall    qword ptr [rbx+3E0h]                                           ; +0x72, 0x1401125e2\ndivss   xmm6, dword ptr [rdi+1B0h]                                     ; +0x78, 0x1401125e8\nmov     rax, [rdi]                                                     ; +0x80, 0x1401125f0\nmov     rcx, rdi                                                       ; +0x83, 0x1401125f3\nmovaps  xmm1, xmm6                                                     ; +0x86, 0x1401125f6\ncall    qword ptr [rax+0A0h]                                           ; +0x89, 0x1401125f9\nmov     rcx, [rsi+3A8h]                                                ; +0x8f, 0x1401125ff\nxor     edx, edx                                                       ; +0x96, 0x140112606\nmov     rax, [rcx]                                                     ; +0x98, 0x140112608\ncall    qword ptr [rax+140h]                                           ; +0x9b, 0x14011260b\nmov     rcx, rsi                                                       ; +0xa1, 0x140112611\ncall    EditorUI__updatePlaybackBtn                                    ; +0xa4, 0x140112614\nmovss   xmm1, dword ptr [rsi+59Ch]                                     ; +0xa9, 0x140112619\nmov     rcx, rsi                                                       ; +0xb1, 0x140112621\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xb4, 0x140112624\nmov     rsi, [rsp+38h+arg_8]                                           ; +0xb9, 0x140112629\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xbe, 0x14011262e\nadd     rsp, 30h                                                       ; +0xc3, 0x140112633\npop     rdi                                                            ; +0xc7, 0x140112637\njmp     EditorUI__updateZoom                                           ; +0xc8, 0x140112638", "xrefs": ["EditorUI::onPause @ 0x1400e1a51", "EditorUI::onStopPlaytest @ 0x140112567", "EditorUI::keyDown @ 0x140126759", "LevelEditorLayer::postUpdate @ 0x1402e10d1", "<???> @ 0x1406c900c"], "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"}