{"type": "func", "start": 4297590256, "end": 4297590406, "name": "-[CCEventDispatcher keyUp:]", "pseudocode": "// \n// -[CCEventDispatcher keyUp:] from 0x1002805f0 to 0x100280686 (150 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bdc010\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:27:43 +0000\n// \n\nvoid __cdecl -[CCEventDispatcher keyUp:](CCEventDispatcher *self, SEL a2, id a3)\n{\n  id v4; // rax\n  _listEntry *keyboardDelegates; // rax\n  _listEntry *var1; // r13\n\n  v4 = +[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, \"sharedEGLView\");\n  objc_msgSend(v4, \"keyUpExec:\", a3);\n  if ( self->dispatchEvents_ )\n  {\n    keyboardDelegates = self->keyboardDelegates_;\n    if ( keyboardDelegates )\n    {\n      do\n      {\n        var1 = keyboardDelegates->var1;\n        if ( (keyboardDelegates->var4 & 1) != 0\n          && objc_msgSend(keyboardDelegates->var2, \"performSelector:withObject:\", \"ccKeyUp:\", a3) )\n        {\n          break;\n        }\n        keyboardDelegates = var1;\n      }\n      while ( var1 );\n    }\n  }\n}", "assembly": "; \n; -[CCEventDispatcher keyUp:] from 0x1002805f0 to 0x100280686 (150 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bdc010\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:27:43 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002805f0\nmov     rbp, rsp                                                       ; +0x1, 0x1002805f1\npush    r15                                                            ; +0x4, 0x1002805f4\npush    r14                                                            ; +0x6, 0x1002805f6\npush    r13                                                            ; +0x8, 0x1002805f8\npush    r12                                                            ; +0xa, 0x1002805fa\npush    rbx                                                            ; +0xc, 0x1002805fc\npush    rax                                                            ; +0xd, 0x1002805fd\nmov     rbx, rdx                                                       ; +0xe, 0x1002805fe\nmov     r14, rdi                                                       ; +0x11, 0x100280601\nmov     rdi, cs:classRef_EAGLView; id                                  ; +0x14, 0x100280604\nmov     rsi, cs:selRef_sharedEGLView; SEL                              ; +0x1b, 0x10028060b\nmov     r12, cs:_objc_msgSend_ptr                                      ; +0x22, 0x100280612\ncall    r12 ; _objc_msgSend; +[EAGLView sharedEGLView] ...             ; +0x29, 0x100280619\nmov     rsi, cs:selRef_keyUpExec_; SEL                                 ; +0x2c, 0x10028061c\nmov     rdi, rax; id                                                   ; +0x33, 0x100280623\nmov     rdx, rbx                                                       ; +0x36, 0x100280626\ncall    r12 ; _objc_msgSend                                            ; +0x39, 0x100280629\ncmp     byte ptr [r14+8], 0                                            ; +0x3c, 0x10028062c\njz      short loc_100280677                                            ; +0x41, 0x100280631\nmov     rax, [r14+10h]                                                 ; +0x43, 0x100280633\ntest    rax, rax                                                       ; +0x47, 0x100280637\njz      short loc_100280677                                            ; +0x4a, 0x10028063a\nmov     r14, cs:selRef_ccKeyUp_                                        ; +0x4c, 0x10028063c\nmov     r15, cs:selRef_performSelector_withObject_                     ; +0x53, 0x100280643\njmp     short loc_100280658                                            ; +0x5a, 0x10028064a\nalign 10h                                                              ; +0x5c, 0x10028064c\nmov     rax, r13                                                       ; +0x60, 0x100280650\ntest    r13, r13                                                       ; +0x63, 0x100280653\njz      short loc_100280677                                            ; +0x66, 0x100280656\nmov     r13, [rax+8]                                                   ; +0x68, 0x100280658\ntest    byte ptr [rax+20h], 1                                          ; +0x6c, 0x10028065c\njz      short loc_100280650                                            ; +0x70, 0x100280660\nmov     rdi, [rax+10h]; id                                             ; +0x72, 0x100280662\nmov     rsi, r15; SEL                                                  ; +0x76, 0x100280666\nmov     rdx, r14                                                       ; +0x79, 0x100280669\nmov     rcx, rbx                                                       ; +0x7c, 0x10028066c\ncall    r12 ; _objc_msgSend                                            ; +0x7f, 0x10028066f\ntest    rax, rax                                                       ; +0x82, 0x100280672\njz      short loc_100280650                                            ; +0x85, 0x100280675\nadd     rsp, 8                                                         ; +0x87, 0x100280677\npop     rbx                                                            ; +0x8b, 0x10028067b\npop     r12                                                            ; +0x8c, 0x10028067c\npop     r13                                                            ; +0x8e, 0x10028067e\npop     r14                                                            ; +0x90, 0x100280680\npop     r15                                                            ; +0x92, 0x100280682\npop     rbp                                                            ; +0x94, 0x100280684\nretn                                                                   ; +0x95, 0x100280685", "xrefs": ["<???> @ 0x100bdc010"], "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"}