{"type": "func", "start": 4297590960, "end": 4297591078, "name": "-[CCEventDispatcher touchesCancelledWithEvent:]", "pseudocode": "// \n// -[CCEventDispatcher touchesCancelledWithEvent:] from 0x1002808b0 to 0x100280926 (118 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bdc088\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 touchesCancelledWithEvent:](CCEventDispatcher *self, SEL a2, id a3)\n{\n  _listEntry *touchDelegates; // rax\n  _listEntry *var1; // r13\n\n  if ( self->dispatchEvents_ )\n  {\n    touchDelegates = self->touchDelegates_;\n    if ( touchDelegates )\n    {\n      do\n      {\n        var1 = touchDelegates->var1;\n        if ( (touchDelegates->var4 & 0x10000) != 0\n          && objc_msgSend(touchDelegates->var2, \"performSelector:withObject:\", \"ccTouchesCancelledWithEvent:\", a3) )\n        {\n          break;\n        }\n        touchDelegates = var1;\n      }\n      while ( var1 );\n    }\n  }\n}", "assembly": "; \n; -[CCEventDispatcher touchesCancelledWithEvent:] from 0x1002808b0 to 0x100280926 (118 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bdc088\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; \ncmp     byte ptr [rdi+8], 0                                            ; +0x0, 0x1002808b0\njz      short locret_100280925                                         ; +0x4, 0x1002808b4\nmov     rax, [rdi+20h]                                                 ; +0x6, 0x1002808b6\ntest    rax, rax                                                       ; +0xa, 0x1002808ba\njz      short locret_100280925                                         ; +0xd, 0x1002808bd\npush    rbp                                                            ; +0xf, 0x1002808bf\nmov     rbp, rsp                                                       ; +0x10, 0x1002808c0\npush    r15                                                            ; +0x13, 0x1002808c3\npush    r14                                                            ; +0x15, 0x1002808c5\npush    r13                                                            ; +0x17, 0x1002808c7\npush    r12                                                            ; +0x19, 0x1002808c9\npush    rbx                                                            ; +0x1b, 0x1002808cb\npush    rax                                                            ; +0x1c, 0x1002808cc\nmov     rbx, rdx                                                       ; +0x1d, 0x1002808cd\nmov     r14, cs:selRef_ccTouchesCancelledWithEvent_                    ; +0x20, 0x1002808d0\nmov     r15, cs:selRef_performSelector_withObject_                     ; +0x27, 0x1002808d7\nmov     r12, cs:_objc_msgSend_ptr                                      ; +0x2e, 0x1002808de\njmp     short loc_1002808F8                                            ; +0x35, 0x1002808e5\nalign 10h                                                              ; +0x37, 0x1002808e7\nmov     rax, r13                                                       ; +0x40, 0x1002808f0\ntest    r13, r13                                                       ; +0x43, 0x1002808f3\njz      short loc_100280917                                            ; +0x46, 0x1002808f6\nmov     r13, [rax+8]                                                   ; +0x48, 0x1002808f8\ntest    byte ptr [rax+22h], 1                                          ; +0x4c, 0x1002808fc\njz      short loc_1002808F0                                            ; +0x50, 0x100280900\nmov     rdi, [rax+10h]; id                                             ; +0x52, 0x100280902\nmov     rsi, r15; SEL                                                  ; +0x56, 0x100280906\nmov     rdx, r14                                                       ; +0x59, 0x100280909\nmov     rcx, rbx                                                       ; +0x5c, 0x10028090c\ncall    r12 ; _objc_msgSend                                            ; +0x5f, 0x10028090f\ntest    rax, rax                                                       ; +0x62, 0x100280912\njz      short loc_1002808F0                                            ; +0x65, 0x100280915\nadd     rsp, 8                                                         ; +0x67, 0x100280917\npop     rbx                                                            ; +0x6b, 0x10028091b\npop     r12                                                            ; +0x6c, 0x10028091c\npop     r13                                                            ; +0x6e, 0x10028091e\npop     r14                                                            ; +0x70, 0x100280920\npop     r15                                                            ; +0x72, 0x100280922\npop     rbp                                                            ; +0x74, 0x100280924\nretn                                                                   ; +0x75, 0x100280925", "xrefs": ["<???> @ 0x100bdc088"], "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"}