{"type": "func", "start": 4301680704, "end": 4301680818, "name": "-[EAGLView flagsChangedExec:]", "pseudocode": "// \n// -[EAGLView flagsChangedExec:] from 0x100667040 to 0x1006670b2 (114 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10099b318\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 __cdecl -[EAGLView flagsChangedExec:](EAGLView *self, SEL a2, id a3)\n{\n  unsigned int v3; // eax\n  _BOOL4 v4; // r14d\n  _BOOL4 v5; // r15d\n  _BOOL4 v6; // r12d\n  _BOOL4 v7; // ebx\n  cocos2d::CCDirector *v8; // rax\n  cocos2d::CCKeyboardDispatcher *v9; // rax\n\n  v3 = (unsigned int)objc_msgSend(a3, \"modifierFlags\");\n  v4 = (v3 >> 17) & 1;\n  v5 = (v3 >> 18) & 1;\n  v6 = (v3 >> 19) & 1;\n  v7 = (v3 >> 20) & 1;\n  v8 = cocos2d::CCDirector::sharedDirector();\n  v9 = (cocos2d::CCKeyboardDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v8->getKeyboardDispatcher)(v8);\n  cocos2d::CCKeyboardDispatcher::updateModifierKeys(v9, v4, v5, v6, v7);\n}", "assembly": "; \n; -[EAGLView flagsChangedExec:] from 0x100667040 to 0x1006670b2 (114 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10099b318\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, 0x100667040\nmov     rbp, rsp                                                       ; +0x1, 0x100667041\npush    r15                                                            ; +0x4, 0x100667044\npush    r14                                                            ; +0x6, 0x100667046\npush    r12                                                            ; +0x8, 0x100667048\npush    rbx                                                            ; +0xa, 0x10066704a\nmov     rdi, rdx; id                                                   ; +0xb, 0x10066704b\nmov     rsi, cs:selRef_modifierFlags; SEL                              ; +0xe, 0x10066704e\ncall    cs:_objc_msgSend_ptr                                           ; +0x15, 0x100667055\nmov     rbx, rax                                                       ; +0x1b, 0x10066705b\nmov     r14d, ebx                                                      ; +0x1e, 0x10066705e\nshr     r14d, 11h                                                      ; +0x21, 0x100667061\nand     r14d, 1                                                        ; +0x25, 0x100667065\nmov     r15d, ebx                                                      ; +0x29, 0x100667069\nshr     r15d, 12h                                                      ; +0x2c, 0x10066706c\nand     r15d, 1                                                        ; +0x30, 0x100667070\nmov     r12d, ebx                                                      ; +0x34, 0x100667074\nshr     r12d, 13h                                                      ; +0x37, 0x100667077\nand     r12d, 1                                                        ; +0x3b, 0x10066707b\nshr     ebx, 14h                                                       ; +0x3f, 0x10066707f\nand     ebx, 1                                                         ; +0x42, 0x100667082\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x45, 0x100667085\nmov     rcx, [rax]                                                     ; +0x4a, 0x10066708a\nmov     rdi, rax                                                       ; +0x4d, 0x10066708d\ncall    qword ptr [rcx+0C0h]                                           ; +0x50, 0x100667090\nmov     rdi, rax                                                       ; +0x56, 0x100667096\nmov     esi, r14d                                                      ; +0x59, 0x100667099\nmov     edx, r15d                                                      ; +0x5c, 0x10066709c\nmov     ecx, r12d                                                      ; +0x5f, 0x10066709f\nmov     r8d, ebx                                                       ; +0x62, 0x1006670a2\npop     rbx                                                            ; +0x65, 0x1006670a5\npop     r12                                                            ; +0x66, 0x1006670a6\npop     r14                                                            ; +0x68, 0x1006670a8\npop     r15                                                            ; +0x6a, 0x1006670aa\npop     rbp                                                            ; +0x6c, 0x1006670ac\njmp     cocos2d__CCKeyboardDispatcher__updateModifierKeys              ; +0x6d, 0x1006670ad", "xrefs": ["<???> @ 0x10099b318"], "is_objc": true, "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"}