{"type": "func", "start": 5369915312, "end": 5369915374, "name": "EditorUI::keyUp", "pseudocode": "// \n// EditorUI::keyUp from 0x1401267b0 to 0x1401267ee (62 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x140552cc0\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  CCMenuItemSpriteExtra *m_playtestStopBtn; // rax\n\n  if ( a2 == KEY_Space || a2 == KEY_W )\n  {\n    LOBYTE(a1->m_createButtonBars) = 0;\n    LOBYTE(a1->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable) = 0;\n  }\n  m_playtestStopBtn = a1->m_playtestStopBtn;\n  if ( LODWORD(m_playtestStopBtn[4].m_fScaleX) == 1 )\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)(*((_QWORD *)&m_playtestStopBtn[25].m_activateSound.m_data.m_bigStorage\n                                                  + 1)\n                                                + 544LL)\n                                    + 8LL))(*((_QWORD *)&m_playtestStopBtn[25].m_activateSound.m_data.m_bigStorage + 1) + 544LL);\n}", "assembly": "; \n; EditorUI::keyUp from 0x1401267b0 to 0x1401267ee (62 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x140552cc0\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     edx, 20h ; ' '                                                 ; +0x0, 0x1401267b0\njz      short loc_1401267BA                                            ; +0x3, 0x1401267b3\ncmp     edx, 57h ; 'W'                                                 ; +0x5, 0x1401267b5\njnz     short loc_1401267C8                                            ; +0x8, 0x1401267b8\nmov     byte ptr [rcx+440h], 0                                         ; +0xa, 0x1401267ba\nmov     byte ptr [rcx+140h], 0                                         ; +0x11, 0x1401267c1\nmov     rax, [rcx+3A8h]                                                ; +0x18, 0x1401267c8\ncmp     dword ptr [rax+880h], 1                                        ; +0x1f, 0x1401267cf\njnz     short locret_1401267ED                                         ; +0x26, 0x1401267d6\nmov     rcx, [rax+3540h]                                               ; +0x28, 0x1401267d8\nadd     rcx, 220h                                                      ; +0x2f, 0x1401267df\nmov     rax, [rcx]                                                     ; +0x36, 0x1401267e6\njmp     qword ptr [rax+8]                                              ; +0x39, 0x1401267e9\nretn                                                                   ; +0x3d, 0x1401267ed", "xrefs": ["<???> @ 0x140552cc0"], "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"}