{"type": "func", "start": 4297677024, "end": 4297677174, "name": "-[CCEventDispatcher mouseDragged:]", "pseudocode": "// \n// -[CCEventDispatcher mouseDragged:] from 0x1002958e0 to 0x100295976 (150 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100999e68\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 -[CCEventDispatcher mouseDragged:](CCEventDispatcher *self, SEL a2, id a3)\n{\n  id v4; // rax\n  _listEntry *mouseDelegates; // rax\n  _listEntry *var1; // r13\n\n  v4 = +[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, \"sharedEGLView\");\n  objc_msgSend(v4, \"mouseDraggedExec:\", a3);\n  if ( self->dispatchEvents_ )\n  {\n    mouseDelegates = self->mouseDelegates_;\n    if ( mouseDelegates )\n    {\n      do\n      {\n        var1 = mouseDelegates->var1;\n        if ( (mouseDelegates->var4 & 4) != 0\n          && objc_msgSend(mouseDelegates->var2, \"performSelector:withObject:\", \"ccMouseDragged:\", a3) )\n        {\n          break;\n        }\n        mouseDelegates = var1;\n      }\n      while ( var1 );\n    }\n  }\n}", "assembly": "; \n; -[CCEventDispatcher mouseDragged:] from 0x1002958e0 to 0x100295976 (150 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100999e68\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, 0x1002958e0\nmov     rbp, rsp                                                       ; +0x1, 0x1002958e1\npush    r15                                                            ; +0x4, 0x1002958e4\npush    r14                                                            ; +0x6, 0x1002958e6\npush    r13                                                            ; +0x8, 0x1002958e8\npush    r12                                                            ; +0xa, 0x1002958ea\npush    rbx                                                            ; +0xc, 0x1002958ec\npush    rax                                                            ; +0xd, 0x1002958ed\nmov     rbx, rdx                                                       ; +0xe, 0x1002958ee\nmov     r14, rdi                                                       ; +0x11, 0x1002958f1\nmov     rdi, cs:classRef_EAGLView; id                                  ; +0x14, 0x1002958f4\nmov     rsi, cs:selRef_sharedEGLView; SEL                              ; +0x1b, 0x1002958fb\nmov     r12, cs:_objc_msgSend_ptr                                      ; +0x22, 0x100295902\ncall    r12 ; _objc_msgSend; +[EAGLView sharedEGLView] ...             ; +0x29, 0x100295909\nmov     rsi, cs:selRef_mouseDraggedExec_; SEL                          ; +0x2c, 0x10029590c\nmov     rdi, rax; id                                                   ; +0x33, 0x100295913\nmov     rdx, rbx                                                       ; +0x36, 0x100295916\ncall    r12 ; _objc_msgSend                                            ; +0x39, 0x100295919\ncmp     byte ptr [r14+8], 0                                            ; +0x3c, 0x10029591c\njz      short loc_100295967                                            ; +0x41, 0x100295921\nmov     rax, [r14+18h]                                                 ; +0x43, 0x100295923\ntest    rax, rax                                                       ; +0x47, 0x100295927\njz      short loc_100295967                                            ; +0x4a, 0x10029592a\nmov     r14, cs:selRef_ccMouseDragged_                                 ; +0x4c, 0x10029592c\nmov     r15, cs:selRef_performSelector_withObject_                     ; +0x53, 0x100295933\njmp     short loc_100295948                                            ; +0x5a, 0x10029593a\nalign 20h                                                              ; +0x5c, 0x10029593c\nmov     rax, r13                                                       ; +0x60, 0x100295940\ntest    r13, r13                                                       ; +0x63, 0x100295943\njz      short loc_100295967                                            ; +0x66, 0x100295946\nmov     r13, [rax+8]                                                   ; +0x68, 0x100295948\ntest    byte ptr [rax+20h], 4                                          ; +0x6c, 0x10029594c\njz      short loc_100295940                                            ; +0x70, 0x100295950\nmov     rdi, [rax+10h]; id                                             ; +0x72, 0x100295952\nmov     rsi, r15; SEL                                                  ; +0x76, 0x100295956\nmov     rdx, r14                                                       ; +0x79, 0x100295959\nmov     rcx, rbx                                                       ; +0x7c, 0x10029595c\ncall    r12 ; _objc_msgSend                                            ; +0x7f, 0x10029595f\ntest    rax, rax                                                       ; +0x82, 0x100295962\njz      short loc_100295940                                            ; +0x85, 0x100295965\nadd     rsp, 8                                                         ; +0x87, 0x100295967\npop     rbx                                                            ; +0x8b, 0x10029596b\npop     r12                                                            ; +0x8c, 0x10029596c\npop     r13                                                            ; +0x8e, 0x10029596e\npop     r14                                                            ; +0x90, 0x100295970\npop     r15                                                            ; +0x92, 0x100295972\npop     rbp                                                            ; +0x94, 0x100295974\nretn                                                                   ; +0x95, 0x100295975", "xrefs": ["<???> @ 0x100999e68"], "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"}