{"type": "func", "start": 4295219408, "end": 4295219608, "name": "EditorUI::playtestStopped", "pseudocode": "// \n// EditorUI::playtestStopped from 0x10003d8d0 to 0x10003d998 (200 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::postUpdate @ 0x1000f3582\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; // r14\n  cocos2d::CCSpriteFrameCache *v3; // rax\n  cocos2d::CCSpriteFrame *v4; // rax\n  float v5; // [rsp+Ch] [rbp-14h]\n  float v6; // [rsp+Ch] [rbp-14h]\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  v5 = v2[108];\n  v6 = (*(float (__fastcall **)(float *))(*(_QWORD *)v2 + 168LL))(v2) * v5;\n  v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n  v4 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, \"GJ_playEditorBtn_001.png\");\n  (*(void (__fastcall **)(float *, cocos2d::CCSpriteFrame *))(*(_QWORD *)v2 + 1144LL))(v2, v4);\n  (*(void (__fastcall **)(float *, float))(*(_QWORD *)v2 + 160LL))(v2, v6 / 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 0x10003d8d0 to 0x10003d998 (200 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::postUpdate @ 0x1000f3582\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\npush    rbp                                                            ; +0x0, 0x10003d8d0\nmov     rbp, rsp                                                       ; +0x1, 0x10003d8d1\npush    r14                                                            ; +0x4, 0x10003d8d4\npush    rbx                                                            ; +0x6, 0x10003d8d6\nsub     rsp, 10h                                                       ; +0x7, 0x10003d8d7\nmov     rbx, rdi                                                       ; +0xb, 0x10003d8db\nmov     esi, 1                                                         ; +0xe, 0x10003d8de\ncall    EditorUI__showUI                                               ; +0x13, 0x10003d8e3\nmov     qword ptr [rbx+264h], 0FFFFFFFFFFFFFFFFh                       ; +0x18, 0x10003d8e8\nmov     rdi, [rbx+388h]                                                ; +0x23, 0x10003d8f3\nmov     rax, [rdi]                                                     ; +0x2a, 0x10003d8fa\ncall    qword ptr [rax+420h]                                           ; +0x2d, 0x10003d8fd\nmov     r14, rax                                                       ; +0x33, 0x10003d903\nmovss   xmm0, dword ptr [rax+1B0h]                                     ; +0x36, 0x10003d906\nmovss   [rbp+var_14], xmm0                                             ; +0x3e, 0x10003d90e\nmov     rax, [rax]                                                     ; +0x43, 0x10003d913\nmov     rdi, r14                                                       ; +0x46, 0x10003d916\ncall    qword ptr [rax+0A8h]                                           ; +0x49, 0x10003d919\nmulss   xmm0, [rbp+var_14]                                             ; +0x4f, 0x10003d91f\nmovss   [rbp+var_14], xmm0                                             ; +0x54, 0x10003d924\ncall    cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache            ; +0x59, 0x10003d929\nlea     rsi, aGjPlayeditorbt; \"GJ_playEditorBtn_001.png\"               ; +0x5e, 0x10003d92e\nmov     rdi, rax                                                       ; +0x65, 0x10003d935\ncall    cocos2d__CCSpriteFrameCache__spriteFrameByName                 ; +0x68, 0x10003d938\nmov     rcx, [r14]                                                     ; +0x6d, 0x10003d93d\nmov     rdi, r14                                                       ; +0x70, 0x10003d940\nmov     rsi, rax                                                       ; +0x73, 0x10003d943\ncall    qword ptr [rcx+478h]                                           ; +0x76, 0x10003d946\nmovss   xmm0, [rbp+var_14]                                             ; +0x7c, 0x10003d94c\ndivss   xmm0, dword ptr [r14+1B0h]                                     ; +0x81, 0x10003d951\nmov     rax, [r14]                                                     ; +0x8a, 0x10003d95a\nmov     rdi, r14                                                       ; +0x8d, 0x10003d95d\ncall    qword ptr [rax+0A0h]                                           ; +0x90, 0x10003d960\nmov     rdi, [rbx+390h]                                                ; +0x96, 0x10003d966\nmov     rax, [rdi]                                                     ; +0x9d, 0x10003d96d\nxor     esi, esi                                                       ; +0xa0, 0x10003d970\ncall    qword ptr [rax+148h]                                           ; +0xa2, 0x10003d972\nmov     rdi, rbx                                                       ; +0xa8, 0x10003d978\ncall    EditorUI__updatePlaybackBtn                                    ; +0xab, 0x10003d97b\nmovss   xmm0, dword ptr [rbx+584h]                                     ; +0xb0, 0x10003d980\nmov     rdi, rbx                                                       ; +0xb8, 0x10003d988\nadd     rsp, 10h                                                       ; +0xbb, 0x10003d98b\npop     rbx                                                            ; +0xbf, 0x10003d98f\npop     r14                                                            ; +0xc0, 0x10003d990\npop     rbp                                                            ; +0xc2, 0x10003d992\njmp     EditorUI__updateZoom                                           ; +0xc3, 0x10003d993", "xrefs": ["LevelEditorLayer::postUpdate @ 0x1000f3582"], "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"}