{"type": "func", "start": 5370497520, "end": 5370497784, "name": "EditorUI::playtestStopped", "pseudocode": "// \n// EditorUI::playtestStopped from 0x1401b49f0 to 0x1401b4af8 (264 bytes)\n// \n// 5 xrefs:\n// > EditorUI::onPause @ 0x1401acda1\n// > EditorUI::onStopPlaytest @ 0x1401b49dc\n// > EditorUI::handleAction @ 0x1401c1ddf\n// > LevelEditorLayer::postUpdate @ 0x140400ac5\n// > <???> @ 0x14091a114\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:57 +0000\n// \n\n__int64 __fastcall EditorUI::playtestStopped(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rdi\n  __int64 v4; // rbx\n  cocos2d::CCSpriteFrameCache *v5; // rax\n  struct cocos2d::CCSpriteFrame *v6; // rax\n  __int64 result; // rax\n  cocos2d::CCNode *v8; // rcx\n\n  EditorUI::showUI(a1, 1u);\n  v2 = *(_QWORD *)(a1 + 1048);\n  *(_QWORD *)(a1 + 708) = -1;\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 952LL))(v2);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 168LL))(v3);\n  v4 = *(_QWORD *)v3;\n  v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n  v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, \"GJ_playEditorBtn_001.png\");\n  (*(void (__fastcall **)(__int64, struct cocos2d::CCSpriteFrame *))(v4 + 1008))(v3, v6);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1056) + 336LL))(*(_QWORD *)(a1 + 1056), 0);\n  EditorUI::updatePlaybackBtn(a1);\n  result = EditorUI::updateZoom_1(a1);\n  v8 = *(cocos2d::CCNode **)(a1 + 1600);\n  if ( v8 )\n  {\n    cocos2d::CCNode::stopAllActions(v8);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(*(_QWORD *)(a1 + 1600) + 368LL) + 40LL))(\n      *(_QWORD *)(a1 + 1600) + 368LL,\n      0);\n    return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1600) + 336LL))(*(_QWORD *)(a1 + 1600), 0);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::playtestStopped from 0x1401b49f0 to 0x1401b4af8 (264 bytes)\n; \n; 5 xrefs:\n; > EditorUI::onPause @ 0x1401acda1\n; > EditorUI::onStopPlaytest @ 0x1401b49dc\n; > EditorUI::handleAction @ 0x1401c1ddf\n; > LevelEditorLayer::postUpdate @ 0x140400ac5\n; > <???> @ 0x14091a114\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:57 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401b49f0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1401b49f5\npush    rdi                                                            ; +0xa, 0x1401b49fa\nsub     rsp, 30h                                                       ; +0xb, 0x1401b49fb\nmov     dl, 1                                                          ; +0xf, 0x1401b49ff\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x11, 0x1401b4a01\nmov     rsi, rcx                                                       ; +0x16, 0x1401b4a06\ncall    EditorUI__showUI                                               ; +0x19, 0x1401b4a09\nmov     rcx, [rsi+418h]                                                ; +0x1e, 0x1401b4a0e\nmov     qword ptr [rsi+2C4h], 0FFFFFFFFFFFFFFFFh                       ; +0x25, 0x1401b4a15\nmov     rax, [rcx]                                                     ; +0x30, 0x1401b4a20\ncall    qword ptr [rax+3B8h]                                           ; +0x33, 0x1401b4a23\nmov     rcx, rax                                                       ; +0x39, 0x1401b4a29\nmov     rdi, rax                                                       ; +0x3c, 0x1401b4a2c\nmov     rdx, [rax]                                                     ; +0x3f, 0x1401b4a2f\ncall    qword ptr [rdx+0A8h]                                           ; +0x42, 0x1401b4a32\nmov     rbx, [rdi]                                                     ; +0x48, 0x1401b4a38\nmovaps  xmm6, xmm0                                                     ; +0x4b, 0x1401b4a3b\nmulss   xmm6, dword ptr [rdi+1B0h]                                     ; +0x4e, 0x1401b4a3e\ncall    cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x56, 0x1401b4a46\nmov     rcx, rax                                                       ; +0x5c, 0x1401b4a4c\nlea     rdx, aGjPlayeditorbt; \"GJ_playEditorBtn_001.png\"               ; +0x5f, 0x1401b4a4f\ncall    cs:?spriteFrameByName@CCSpriteFrameCache@cocos2d@@QEAAPEAVCCSpriteFrame@2@PEBD@Z; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const *) ; +0x66, 0x1401b4a56\nmov     rdx, rax                                                       ; +0x6c, 0x1401b4a5c\nmov     rcx, rdi                                                       ; +0x6f, 0x1401b4a5f\ncall    qword ptr [rbx+3F0h]                                           ; +0x72, 0x1401b4a62\ndivss   xmm6, dword ptr [rdi+1B0h]                                     ; +0x78, 0x1401b4a68\nmov     rax, [rdi]                                                     ; +0x80, 0x1401b4a70\nmov     rcx, rdi                                                       ; +0x83, 0x1401b4a73\nmovaps  xmm1, xmm6                                                     ; +0x86, 0x1401b4a76\ncall    qword ptr [rax+0A0h]                                           ; +0x89, 0x1401b4a79\nmov     rcx, [rsi+420h]                                                ; +0x8f, 0x1401b4a7f\nxor     edx, edx                                                       ; +0x96, 0x1401b4a86\nmov     rax, [rcx]                                                     ; +0x98, 0x1401b4a88\ncall    qword ptr [rax+150h]                                           ; +0x9b, 0x1401b4a8b\nmov     rcx, rsi                                                       ; +0xa1, 0x1401b4a91\ncall    EditorUI__updatePlaybackBtn                                    ; +0xa4, 0x1401b4a94\nmovss   xmm1, dword ptr [rsi+678h]                                     ; +0xa9, 0x1401b4a99\nmov     rcx, rsi                                                       ; +0xb1, 0x1401b4aa1\ncall    EditorUI__updateZoom_1                                         ; +0xb4, 0x1401b4aa4\nmov     rcx, [rsi+640h]                                                ; +0xb9, 0x1401b4aa9\ntest    rcx, rcx                                                       ; +0xc0, 0x1401b4ab0\njz      short loc_1401B4AE3                                            ; +0xc3, 0x1401b4ab3\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0xc5, 0x1401b4ab5\nmov     rcx, [rsi+640h]                                                ; +0xcb, 0x1401b4abb\nxor     edx, edx                                                       ; +0xd2, 0x1401b4ac2\nadd     rcx, 170h                                                      ; +0xd4, 0x1401b4ac4\nmov     rax, [rcx]                                                     ; +0xdb, 0x1401b4acb\ncall    qword ptr [rax+28h]                                            ; +0xde, 0x1401b4ace\nmov     rcx, [rsi+640h]                                                ; +0xe1, 0x1401b4ad1\nxor     edx, edx                                                       ; +0xe8, 0x1401b4ad8\nmov     rax, [rcx]                                                     ; +0xea, 0x1401b4ada\ncall    qword ptr [rax+150h]                                           ; +0xed, 0x1401b4add\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xf3, 0x1401b4ae3\nmov     rsi, [rsp+38h+arg_8]                                           ; +0xf8, 0x1401b4ae8\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xfd, 0x1401b4aed\nadd     rsp, 30h                                                       ; +0x102, 0x1401b4af2\npop     rdi                                                            ; +0x106, 0x1401b4af6\nretn                                                                   ; +0x107, 0x1401b4af7", "xrefs": ["EditorUI::onPause @ 0x1401acda1", "EditorUI::onStopPlaytest @ 0x1401b49dc", "EditorUI::handleAction @ 0x1401c1ddf", "LevelEditorLayer::postUpdate @ 0x140400ac5", "<???> @ 0x14091a114"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}