{"type": "func", "start": 4295300640, "end": 4295300706, "name": "EditorUI::keyUp", "pseudocode": "// \n// EditorUI::keyUp from 0x100051620 to 0x100051662 (66 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008b0610\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::keyUp(EditorUI *a1, cocos2d::enumKeyCodes a2, double a3)\n{\n  LevelEditorLayer *m_editorLayer; // rax\n\n  if ( a2 == KEY_W || a2 == KEY_Space )\n  {\n    a1->m_pressedSpace = 0;\n    a1->m_spaceSwiping = 0;\n  }\n  m_editorLayer = a1->m_editorLayer;\n  if ( m_editorLayer->m_playbackMode == Playing )\n    ((void (__fastcall *)(UILayer *, double))m_editorLayer->m_uiLayer->keyUp)(m_editorLayer->m_uiLayer, a3);\n}", "assembly": "; \n; EditorUI::keyUp from 0x100051620 to 0x100051662 (66 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008b0610\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, 0x100051620\nmov     rbp, rsp                                                       ; +0x1, 0x100051621\ncmp     esi, 57h ; 'W'                                                 ; +0x4, 0x100051624\njz      short loc_10005162E                                            ; +0x7, 0x100051627\ncmp     esi, 20h ; ' '                                                 ; +0x9, 0x100051629\njnz     short loc_10005163C                                            ; +0xc, 0x10005162c\nmov     byte ptr [rdi+580h], 0                                         ; +0xe, 0x10005162e\nmov     byte ptr [rdi+280h], 0                                         ; +0x15, 0x100051635\nmov     rax, [rdi+4E8h]                                                ; +0x1c, 0x10005163c\ncmp     dword ptr [rax+798h], 1                                        ; +0x23, 0x100051643\njnz     short loc_100051660                                            ; +0x2a, 0x10005164a\nmov     rdi, [rax+3330h]                                               ; +0x2c, 0x10005164c\nmov     rax, [rdi]                                                     ; +0x33, 0x100051653\nmov     rax, [rax+508h]                                                ; +0x36, 0x100051656\npop     rbp                                                            ; +0x3d, 0x10005165d\njmp     rax                                                            ; +0x3e, 0x10005165e\npop     rbp                                                            ; +0x40, 0x100051660\nretn                                                                   ; +0x41, 0x100051661", "xrefs": ["<???> @ 0x1008b0610"], "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"}