{"type": "func", "start": 4302595168, "end": 4302595395, "name": "-[EAGLView keyUpExec:]", "pseudocode": "// \n// -[EAGLView keyUpExec:] from 0x100746460 to 0x100746543 (227 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bdd3b8\n// \n// This function is hookable on this platform (idp: pc, 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 12:36:31 +0000\n// \n\nvoid __cdecl -[EAGLView keyUpExec:](EAGLView *self, SEL a2, id a3)\n{\n  double v3; // xmm0_8\n  unsigned __int16 v5; // ax\n  unsigned int v6; // eax\n  unsigned int v7; // r14d\n  __int64 v8; // rax\n  __int64 v9; // rax\n  unsigned int v10; // eax\n  unsigned int v11; // r14d\n  unsigned int v12; // r15d\n  int v13; // r12d\n  int v14; // ebx\n  __int64 v15; // rax\n  __int64 v16; // rax\n\n  objc_msgSend(a3, \"timestamp\");\n  v5 = (unsigned __int16)objc_msgSend(a3, \"keyCode\");\n  v6 = -[EAGLView convertKeyCode:](self, \"convertKeyCode:\", v5);\n  if ( v6 != -1 )\n  {\n    v7 = v6;\n    v8 = cocos2d::CCDirector::sharedDirector();\n    v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 192LL))(v8);\n    cocos2d::CCKeyboardDispatcher::dispatchKeyboardMSG(v9, v7, 0, 0, v3);\n  }\n  v10 = (unsigned int)objc_msgSend(a3, \"modifierFlags\");\n  v11 = (v10 >> 17) & 1;\n  v12 = (v10 >> 18) & 1;\n  v13 = (v10 >> 19) & 1;\n  v14 = (v10 >> 20) & 1;\n  v15 = cocos2d::CCDirector::sharedDirector();\n  v16 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v15 + 192LL))(v15);\n  cocos2d::CCKeyboardDispatcher::updateModifierKeys(v16, v11, v12, v13, v14);\n}", "assembly": "; \n; -[EAGLView keyUpExec:] from 0x100746460 to 0x100746543 (227 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bdd3b8\n; \n; This function is hookable on this platform (idp: pc, 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 12:36:31 +0000\n; \npush    rbp                                                            ; +0x0, 0x100746460\nmov     rbp, rsp                                                       ; +0x1, 0x100746461\npush    r15                                                            ; +0x4, 0x100746464\npush    r14                                                            ; +0x6, 0x100746466\npush    r12                                                            ; +0x8, 0x100746468\npush    rbx                                                            ; +0xa, 0x10074646a\nsub     rsp, 10h                                                       ; +0xb, 0x10074646b\nmov     rbx, rdx                                                       ; +0xf, 0x10074646f\nmov     r14, rdi                                                       ; +0x12, 0x100746472\nmov     rsi, cs:selRef_timestamp; SEL                                  ; +0x15, 0x100746475\nmov     r15, cs:_objc_msgSend_ptr                                      ; +0x1c, 0x10074647c\nmov     rdi, rdx; id                                                   ; +0x23, 0x100746483\ncall    r15 ; _objc_msgSend                                            ; +0x26, 0x100746486\nmovsd   [rbp+var_28], xmm0                                             ; +0x29, 0x100746489\nmov     rsi, cs:selRef_keyCode; SEL                                    ; +0x2e, 0x10074648e\nmov     rdi, rbx; id                                                   ; +0x35, 0x100746495\ncall    r15 ; _objc_msgSend                                            ; +0x38, 0x100746498\nmovzx   edx, ax                                                        ; +0x3b, 0x10074649b\nmov     rsi, cs:selRef_convertKeyCode_; SEL                            ; +0x3e, 0x10074649e\nmov     rdi, r14; id                                                   ; +0x45, 0x1007464a5\ncall    r15 ; _objc_msgSend; -[EAGLView convertKeyCode:] ...           ; +0x48, 0x1007464a8\ncmp     eax, 0FFFFFFFFh                                                ; +0x4b, 0x1007464ab\njz      short loc_1007464D8                                            ; +0x4e, 0x1007464ae\nmov     r14d, eax                                                      ; +0x50, 0x1007464b0\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x53, 0x1007464b3\nmov     rcx, [rax]                                                     ; +0x58, 0x1007464b8\nmov     rdi, rax                                                       ; +0x5b, 0x1007464bb\ncall    qword ptr [rcx+0C0h]                                           ; +0x5e, 0x1007464be\nmov     rdi, rax                                                       ; +0x64, 0x1007464c4\nmov     esi, r14d                                                      ; +0x67, 0x1007464c7\nxor     edx, edx                                                       ; +0x6a, 0x1007464ca\nxor     ecx, ecx                                                       ; +0x6c, 0x1007464cc\nmovsd   xmm0, [rbp+var_28]                                             ; +0x6e, 0x1007464ce\ncall    cocos2d__CCKeyboardDispatcher__dispatchKeyboardMSG             ; +0x73, 0x1007464d3\nmov     rsi, cs:selRef_modifierFlags; SEL                              ; +0x78, 0x1007464d8\nmov     rdi, rbx; id                                                   ; +0x7f, 0x1007464df\ncall    cs:_objc_msgSend_ptr                                           ; +0x82, 0x1007464e2\nmov     rbx, rax                                                       ; +0x88, 0x1007464e8\nmov     r14d, ebx                                                      ; +0x8b, 0x1007464eb\nshr     r14d, 11h                                                      ; +0x8e, 0x1007464ee\nand     r14d, 1                                                        ; +0x92, 0x1007464f2\nmov     r15d, ebx                                                      ; +0x96, 0x1007464f6\nshr     r15d, 12h                                                      ; +0x99, 0x1007464f9\nand     r15d, 1                                                        ; +0x9d, 0x1007464fd\nmov     r12d, ebx                                                      ; +0xa1, 0x100746501\nshr     r12d, 13h                                                      ; +0xa4, 0x100746504\nand     r12d, 1                                                        ; +0xa8, 0x100746508\nshr     ebx, 14h                                                       ; +0xac, 0x10074650c\nand     ebx, 1                                                         ; +0xaf, 0x10074650f\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xb2, 0x100746512\nmov     rcx, [rax]                                                     ; +0xb7, 0x100746517\nmov     rdi, rax                                                       ; +0xba, 0x10074651a\ncall    qword ptr [rcx+0C0h]                                           ; +0xbd, 0x10074651d\nmov     rdi, rax                                                       ; +0xc3, 0x100746523\nmov     esi, r14d                                                      ; +0xc6, 0x100746526\nmov     edx, r15d                                                      ; +0xc9, 0x100746529\nmov     ecx, r12d                                                      ; +0xcc, 0x10074652c\nmov     r8d, ebx                                                       ; +0xcf, 0x10074652f\nadd     rsp, 10h                                                       ; +0xd2, 0x100746532\npop     rbx                                                            ; +0xd6, 0x100746536\npop     r12                                                            ; +0xd7, 0x100746537\npop     r14                                                            ; +0xd9, 0x100746539\npop     r15                                                            ; +0xdb, 0x10074653b\npop     rbp                                                            ; +0xdd, 0x10074653d\njmp     cocos2d__CCKeyboardDispatcher__updateModifierKeys              ; +0xde, 0x10074653e", "xrefs": ["<???> @ 0x100bdd3b8"], "is_objc": true, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}