{"type": "func", "start": 6838480, "end": 6838580, "name": "EditorUI::keyUp", "pseudocode": "// \n// EditorUI::keyUp from 0x6858d0 to 0x685934 (100 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorUI::keyUp @ 0x685938\n// > <???> @ 0x8eda0\n// > <???> @ 0x1156bb8\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\n// local variable allocation has failed, the output may be wrong!\nvoid EditorUI::keyUp(EditorUI *a1, cocos2d::enumKeyCodes a2, double a3)\n{\n  LevelEditorLayer *m_editorLayer; // x0\n\n  if ( a2 != KEY_W && a2 != KEY_Space )\n  {\n    m_editorLayer = a1->m_editorLayer;\n    if ( m_editorLayer->m_playbackMode != Playing )\n      return;\nLABEL_6:\n    ((void (__fastcall *)(UILayer *, long double))m_editorLayer->m_uiLayer->keyUp)(\n      m_editorLayer->m_uiLayer,\n      *(long double *)&a3);\n    return;\n  }\n  a1->m_pressedSpace = 0;\n  a1->m_spaceSwiping = 0;\n  m_editorLayer = a1->m_editorLayer;\n  if ( m_editorLayer->m_playbackMode == Playing )\n    goto LABEL_6;\n}", "assembly": "; \n; EditorUI::keyUp from 0x6858d0 to 0x685934 (100 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorUI::keyUp @ 0x685938\n; > <???> @ 0x8eda0\n; > <???> @ 0x1156bb8\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             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x6858d0\nCMP             W1, #0x57 ; 'W'                                        ; +0x4, 0x6858d4\nMOV             X29, SP                                                ; +0x8, 0x6858d8\nB.EQ            loc_685900                                             ; +0xc, 0x6858dc\nCMP             W1, #0x20 ; ' '                                        ; +0x10, 0x6858e0\nB.EQ            loc_685900                                             ; +0x14, 0x6858e4\nLDR             X0, [X0,#0x4F8]                                        ; +0x18, 0x6858e8\nLDR             W2, [X0,#0x8A8]                                        ; +0x1c, 0x6858ec\nCMP             W2, #1                                                 ; +0x20, 0x6858f0\nB.EQ            loc_685918                                             ; +0x24, 0x6858f4\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x28, 0x6858f8\nRET                                                                    ; +0x2c, 0x6858fc\nSTRB            WZR, [X0,#0x590]                                       ; +0x30, 0x685900\nSTRB            WZR, [X0,#0x290]                                       ; +0x34, 0x685904\nLDR             X0, [X0,#0x4F8]                                        ; +0x38, 0x685908\nLDR             W2, [X0,#0x8A8]                                        ; +0x3c, 0x68590c\nCMP             W2, #1                                                 ; +0x40, 0x685910\nB.NE            loc_6858F8                                             ; +0x44, 0x685914\nLDR             X2, [X0,#0x3540]                                       ; +0x48, 0x685918\nMOV             X0, X2                                                 ; +0x4c, 0x68591c\nLDR             X2, [X2]                                               ; +0x50, 0x685920\nLDR             X2, [X2,#0x508]                                        ; +0x54, 0x685924\nBLR             X2                                                     ; +0x58, 0x685928\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x5c, 0x68592c\nRET                                                                    ; +0x60, 0x685930", "xrefs": ["`non-virtual thunk to'EditorUI::keyUp @ 0x685938", "<???> @ 0x8eda0", "<???> @ 0x1156bb8"], "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"}