{"type": "func", "start": 3650836, "end": 3650898, "name": "EditorUI::keyUp", "pseudocode": "// \n// EditorUI::keyUp from 0x37b514 to 0x37b552 (62 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorUI::keyUp @ 0x37b556\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 EditorUI::keyUp(EditorUI *a1, cocos2d::enumKeyCodes a2, double a3)\n{\n  int v3; // r5\n\n  v3 = HIDWORD(a3);\n  if ( a2 == KEY_Space || a2 == KEY_W )\n  {\n    a1->m_pressedSpace = 0;\n    a1->m_spaceSwiping = 0;\n  }\n  HIDWORD(a3) = a1->m_editorLayer;\n  if ( *(_DWORD *)(HIDWORD(a3) + 1548) == 1 )\n    (*(void (__fastcall **)(_DWORD, cocos2d::enumKeyCodes, _DWORD, int))(**(_DWORD **)(HIDWORD(a3) + 11392) + 644))(\n      *(_DWORD *)(HIDWORD(a3) + 11392),\n      a2,\n      LODWORD(a3),\n      v3);\n}", "assembly": "; \n; EditorUI::keyUp from 0x37b514 to 0x37b552 (62 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorUI::keyUp @ 0x37b556\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\nCMP             R1, #0x20 ; ' '                                        ; +0x0, 0x37b514\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x37b516\nMOV             R4, R2                                                 ; +0x4, 0x37b518\nMOV             R5, R3                                                 ; +0x6, 0x37b51a\nBEQ             loc_37B522                                             ; +0x8, 0x37b51c\nCMP             R1, #0x57 ; 'W'                                        ; +0xa, 0x37b51e\nBNE             loc_37B52C                                             ; +0xc, 0x37b520\nMOVS            R3, #0                                                 ; +0xe, 0x37b522\nSTRB.W          R3, [R0,#0x3B4]                                        ; +0x10, 0x37b524\nSTRB.W          R3, [R0,#0x1E8]                                        ; +0x14, 0x37b528\nLDR.W           R3, [R0,#0x340]                                        ; +0x18, 0x37b52c\nLDR.W           R2, [R3,#0x60C]                                        ; +0x1c, 0x37b530\nCMP             R2, #1                                                 ; +0x20, 0x37b534\nBNE             locret_37B550                                          ; +0x22, 0x37b536\nADD.W           R3, R3, #0x2C80                                        ; +0x24, 0x37b538\nMOV             R2, R4                                                 ; +0x28, 0x37b53c\nLDR             R0, [R3]                                               ; +0x2a, 0x37b53e\nLDR             R3, [R0]                                               ; +0x2c, 0x37b540\nLDR.W           R6, [R3,#0x284]                                        ; +0x2e, 0x37b542\nMOV             R3, R5                                                 ; +0x32, 0x37b546\nMOV             R12, R6                                                ; +0x34, 0x37b548\nPOP.W           {R4-R6,LR}                                             ; +0x36, 0x37b54a\nBX              R12                                                    ; +0x3a, 0x37b54e\nPOP             {R4-R6,PC}                                             ; +0x3c, 0x37b550", "xrefs": ["`non-virtual thunk to'EditorUI::keyUp @ 0x37b556"], "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"}