{"type": "func", "start": 4297677728, "end": 4297677846, "name": "-[CCEventDispatcher otherMouseDown:]", "pseudocode": "// \n// -[CCEventDispatcher otherMouseDown:] from 0x100295ba0 to 0x100295c16 (118 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100999ee0\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 otherMouseDown:](CCEventDispatcher *self, SEL a2, id a3)\n{\n  _listEntry *mouseDelegates; // rax\n  _listEntry *var1; // r13\n\n  if ( self->dispatchEvents_ )\n  {\n    mouseDelegates = self->mouseDelegates_;\n    if ( mouseDelegates )\n    {\n      do\n      {\n        var1 = mouseDelegates->var1;\n        if ( SLOBYTE(mouseDelegates->var4) < 0\n          && objc_msgSend(mouseDelegates->var2, \"performSelector:withObject:\", \"ccOtherMouseDown:\", a3) )\n        {\n          break;\n        }\n        mouseDelegates = var1;\n      }\n      while ( var1 );\n    }\n  }\n}", "assembly": "; \n; -[CCEventDispatcher otherMouseDown:] from 0x100295ba0 to 0x100295c16 (118 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100999ee0\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     byte ptr [rdi+8], 0                                            ; +0x0, 0x100295ba0\njz      short locret_100295C15                                         ; +0x4, 0x100295ba4\nmov     rax, [rdi+18h]                                                 ; +0x6, 0x100295ba6\ntest    rax, rax                                                       ; +0xa, 0x100295baa\njz      short locret_100295C15                                         ; +0xd, 0x100295bad\npush    rbp                                                            ; +0xf, 0x100295baf\nmov     rbp, rsp                                                       ; +0x10, 0x100295bb0\npush    r15                                                            ; +0x13, 0x100295bb3\npush    r14                                                            ; +0x15, 0x100295bb5\npush    r13                                                            ; +0x17, 0x100295bb7\npush    r12                                                            ; +0x19, 0x100295bb9\npush    rbx                                                            ; +0x1b, 0x100295bbb\npush    rax                                                            ; +0x1c, 0x100295bbc\nmov     rbx, rdx                                                       ; +0x1d, 0x100295bbd\nmov     r14, cs:selRef_ccOtherMouseDown_                               ; +0x20, 0x100295bc0\nmov     r15, cs:selRef_performSelector_withObject_                     ; +0x27, 0x100295bc7\nmov     r12, cs:_objc_msgSend_ptr                                      ; +0x2e, 0x100295bce\njmp     short loc_100295BE8                                            ; +0x35, 0x100295bd5\nalign 20h                                                              ; +0x37, 0x100295bd7\nmov     rax, r13                                                       ; +0x40, 0x100295be0\ntest    r13, r13                                                       ; +0x43, 0x100295be3\njz      short loc_100295C07                                            ; +0x46, 0x100295be6\nmov     r13, [rax+8]                                                   ; +0x48, 0x100295be8\ntest    byte ptr [rax+20h], 80h                                        ; +0x4c, 0x100295bec\njz      short loc_100295BE0                                            ; +0x50, 0x100295bf0\nmov     rdi, [rax+10h]; id                                             ; +0x52, 0x100295bf2\nmov     rsi, r15; SEL                                                  ; +0x56, 0x100295bf6\nmov     rdx, r14                                                       ; +0x59, 0x100295bf9\nmov     rcx, rbx                                                       ; +0x5c, 0x100295bfc\ncall    r12 ; _objc_msgSend                                            ; +0x5f, 0x100295bff\ntest    rax, rax                                                       ; +0x62, 0x100295c02\njz      short loc_100295BE0                                            ; +0x65, 0x100295c05\nadd     rsp, 8                                                         ; +0x67, 0x100295c07\npop     rbx                                                            ; +0x6b, 0x100295c0b\npop     r12                                                            ; +0x6c, 0x100295c0c\npop     r13                                                            ; +0x6e, 0x100295c0e\npop     r14                                                            ; +0x70, 0x100295c10\npop     r15                                                            ; +0x72, 0x100295c12\npop     rbp                                                            ; +0x74, 0x100295c14\nretn                                                                   ; +0x75, 0x100295c15", "xrefs": ["<???> @ 0x100999ee0"], "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"}