{"type": "func", "start": 4299652248, "end": 4299652508, "name": "EditorUI::playtestStopped", "pseudocode": "// \n// EditorUI::playtestStopped from 0x100477c98 to 0x100477d9c (260 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::postUpdate @ 0x100405870\n// > EditorUI::onStopPlaytest @ 0x1004715f8\n// \n// This function is hookable on this platform (idp: arm, 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:05:41 +0000\n// \n\n__int64 __fastcall EditorUI::playtestStopped(__int64 a1)\n{\n  float *v2; // x20\n  float v3; // s8\n  float v4; // s8\n  __int64 v5; // x0\n  __int64 v6; // x0\n  __int64 result; // x0\n\n  EditorUI::showUI(a1, 1u);\n  *(_QWORD *)(a1 + 660) = -1;\n  v2 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1000) + 1072LL))(*(_QWORD *)(a1 + 1000));\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 *, __int64))(*(_QWORD *)v2 + 1160LL))(v2, v6);\n  (*(void (__fastcall **)(float *, float))(*(_QWORD *)v2 + 160LL))(v2, v4 / v2[108]);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1008) + 344LL))(*(_QWORD *)(a1 + 1008), 0);\n  EditorUI::updatePlaybackBtn(a1);\n  EditorUI::updateZoom_1(a1, *(float *)(a1 + 1584));\n  result = *(_QWORD *)(a1 + 1528);\n  if ( result )\n  {\n    cocos2d::CCNode::stopAllActions(result);\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1528) + 1024LL))(*(_QWORD *)(a1 + 1528), 0);\n    return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1528) + 344LL))(*(_QWORD *)(a1 + 1528), 0);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::playtestStopped from 0x100477c98 to 0x100477d9c (260 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::postUpdate @ 0x100405870\n; > EditorUI::onStopPlaytest @ 0x1004715f8\n; \n; This function is hookable on this platform (idp: arm, 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:05:41 +0000\n; \nSTP             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x100477c98\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100477c9c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100477ca0\nADD             X29, SP, #0x20                                         ; +0xc, 0x100477ca4\nMOV             X19, X0                                                ; +0x10, 0x100477ca8\nMOV             W1, #1                                                 ; +0x14, 0x100477cac\nBL              EditorUI__showUI                                       ; +0x18, 0x100477cb0\nADD             X8, X19, #0x294                                        ; +0x1c, 0x100477cb4\nMOV             X9, #0xFFFFFFFFFFFFFFFF                                ; +0x20, 0x100477cb8\nSTR             X9, [X8]                                               ; +0x24, 0x100477cbc\nLDR             X0, [X19,#0x3E8]                                       ; +0x28, 0x100477cc0\nLDR             X8, [X0]                                               ; +0x2c, 0x100477cc4\nLDR             X8, [X8,#0x430]                                        ; +0x30, 0x100477cc8\nBLR             X8                                                     ; +0x34, 0x100477ccc\nMOV             X20, X0                                                ; +0x38, 0x100477cd0\nLDR             S8, [X0,#0x1B0]                                        ; +0x3c, 0x100477cd4\nLDR             X8, [X0]                                               ; +0x40, 0x100477cd8\nLDR             X8, [X8,#0xA8]                                         ; +0x44, 0x100477cdc\nBLR             X8                                                     ; +0x48, 0x100477ce0\nFMUL            S8, S8, S0                                             ; +0x4c, 0x100477ce4\nBL              cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache    ; +0x50, 0x100477ce8\nADRL            X1, aGjPlayeditorbt; \"GJ_playEditorBtn_001.png\"        ; +0x54, 0x100477cec\nBL              cocos2d__CCSpriteFrameCache__spriteFrameByName         ; +0x5c, 0x100477cf4\nMOV             X1, X0                                                 ; +0x60, 0x100477cf8\nLDR             X8, [X20]                                              ; +0x64, 0x100477cfc\nLDR             X8, [X8,#0x488]                                        ; +0x68, 0x100477d00\nMOV             X0, X20                                                ; +0x6c, 0x100477d04\nBLR             X8                                                     ; +0x70, 0x100477d08\nLDR             S0, [X20,#0x1B0]                                       ; +0x74, 0x100477d0c\nLDR             X8, [X20]                                              ; +0x78, 0x100477d10\nLDR             X8, [X8,#0xA0]                                         ; +0x7c, 0x100477d14\nFDIV            S0, S8, S0                                             ; +0x80, 0x100477d18\nMOV             X0, X20                                                ; +0x84, 0x100477d1c\nBLR             X8                                                     ; +0x88, 0x100477d20\nLDR             X0, [X19,#0x3F0]                                       ; +0x8c, 0x100477d24\nLDR             X8, [X0]                                               ; +0x90, 0x100477d28\nLDR             X8, [X8,#0x158]                                        ; +0x94, 0x100477d2c\nMOV             W1, #0                                                 ; +0x98, 0x100477d30\nBLR             X8                                                     ; +0x9c, 0x100477d34\nMOV             X0, X19                                                ; +0xa0, 0x100477d38\nBL              EditorUI__updatePlaybackBtn                            ; +0xa4, 0x100477d3c\nLDR             S0, [X19,#0x630]                                       ; +0xa8, 0x100477d40\nMOV             X0, X19                                                ; +0xac, 0x100477d44\nBL              EditorUI__updateZoom_1                                 ; +0xb0, 0x100477d48\nLDR             X0, [X19,#0x5F8]                                       ; +0xb4, 0x100477d4c\nCBZ             X0, loc_100477D8C                                      ; +0xb8, 0x100477d50\nBL              cocos2d__CCNode__stopAllActions                        ; +0xbc, 0x100477d54\nLDR             X0, [X19,#0x5F8]                                       ; +0xc0, 0x100477d58\nLDR             X8, [X0]                                               ; +0xc4, 0x100477d5c\nLDR             X8, [X8,#0x400]                                        ; +0xc8, 0x100477d60\nMOV             W1, #0                                                 ; +0xcc, 0x100477d64\nBLR             X8                                                     ; +0xd0, 0x100477d68\nLDR             X0, [X19,#0x5F8]                                       ; +0xd4, 0x100477d6c\nLDR             X8, [X0]                                               ; +0xd8, 0x100477d70\nLDR             X2, [X8,#0x158]                                        ; +0xdc, 0x100477d74\nMOV             W1, #0                                                 ; +0xe0, 0x100477d78\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xe4, 0x100477d7c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xe8, 0x100477d80\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0xec, 0x100477d84\nBR              X2                                                     ; +0xf0, 0x100477d88\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xf4, 0x100477d8c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xf8, 0x100477d90\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0xfc, 0x100477d94\nRET                                                                    ; +0x100, 0x100477d98", "xrefs": ["LevelEditorLayer::postUpdate @ 0x100405870", "EditorUI::onStopPlaytest @ 0x1004715f8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}