{"type": "func", "start": 4297679648, "end": 4297679781, "name": "-[CCEventDispatcher dispatchQueuedEvents]", "pseudocode": "// \n// -[CCEventDispatcher dispatchQueuedEvents] from 0x100296320 to 0x1002963a5 (133 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10099a030\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 dispatchQueuedEvents](CCEventDispatcher *self, SEL a2)\n{\n  _QWORD *v2; // r12\n  __int64 v3; // r13\n  void *v4; // r15\n\n  objc_sync_enter(self);\n  if ( dword_10099F9E8 > 0 )\n  {\n    v2 = &unk_10099F9F8;\n    v3 = 0;\n    do\n    {\n      v4 = (void *)*v2;\n      -[CCEventDispatcher performSelector:withObject:](self, \"performSelector:withObject:\", *(v2 - 1), *v2);\n      objc_release(v4);\n      ++v3;\n      v2 += 2;\n    }\n    while ( v3 < dword_10099F9E8 );\n  }\n  dword_10099F9E8 = 0;\n  objc_sync_exit(self);\n}", "assembly": "; \n; -[CCEventDispatcher dispatchQueuedEvents] from 0x100296320 to 0x1002963a5 (133 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10099a030\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, 0x100296320\nmov     rbp, rsp                                                       ; +0x1, 0x100296321\npush    r15                                                            ; +0x4, 0x100296324\npush    r14                                                            ; +0x6, 0x100296326\npush    r13                                                            ; +0x8, 0x100296328\npush    r12                                                            ; +0xa, 0x10029632a\npush    rbx                                                            ; +0xc, 0x10029632c\npush    rax                                                            ; +0xd, 0x10029632d\nmov     rbx, rdi                                                       ; +0xe, 0x10029632e\ncall    _objc_sync_enter                                               ; +0x11, 0x100296331\ncmp     cs:dword_10099F9E8, 0                                          ; +0x16, 0x100296336\njle     short loc_100296385                                            ; +0x1d, 0x10029633d\nlea     r12, unk_10099F9F8                                             ; +0x1f, 0x10029633f\nxor     r13d, r13d                                                     ; +0x26, 0x100296346\nmov     r14, cs:_objc_release_ptr                                      ; +0x29, 0x100296349\nmov     rdx, [r12-8]                                                   ; +0x30, 0x100296350\nmov     r15, [r12]                                                     ; +0x35, 0x100296355\nmov     rdi, rbx; id                                                   ; +0x39, 0x100296359\nmov     rsi, cs:selRef_performSelector_withObject_; SEL                ; +0x3c, 0x10029635c\nmov     rcx, r15                                                       ; +0x43, 0x100296363\ncall    cs:_objc_msgSend_ptr; -[CCEventDispatcher performSelector:withObject:] ... ; +0x46, 0x100296366\nmov     rdi, r15; id                                                   ; +0x4c, 0x10029636c\ncall    r14 ; _objc_release                                            ; +0x4f, 0x10029636f\ninc     r13                                                            ; +0x52, 0x100296372\nmovsxd  rax, cs:dword_10099F9E8                                        ; +0x55, 0x100296375\nadd     r12, 10h                                                       ; +0x5c, 0x10029637c\ncmp     r13, rax                                                       ; +0x60, 0x100296380\njl      short loc_100296350                                            ; +0x63, 0x100296383\nmov     cs:dword_10099F9E8, 0                                          ; +0x65, 0x100296385\nmov     rdi, rbx; obj                                                  ; +0x6f, 0x10029638f\nadd     rsp, 8                                                         ; +0x72, 0x100296392\npop     rbx                                                            ; +0x76, 0x100296396\npop     r12                                                            ; +0x77, 0x100296397\npop     r13                                                            ; +0x79, 0x100296399\npop     r14                                                            ; +0x7b, 0x10029639b\npop     r15                                                            ; +0x7d, 0x10029639d\npop     rbp                                                            ; +0x7f, 0x10029639f\njmp     _objc_sync_exit                                                ; +0x80, 0x1002963a0", "xrefs": ["<???> @ 0x10099a030"], "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"}