{"type": "func", "start": 4297679520, "end": 4297679624, "name": "-[CCEventDispatcher queueEvent:selector:]", "pseudocode": "// \n// -[CCEventDispatcher queueEvent:selector:] from 0x1002962a0 to 0x100296308 (104 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10099a018\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 queueEvent:selector:](CCEventDispatcher *self, SEL a2, id a3, SEL a4)\n{\n  id v6; // rax\n  int v7; // edx\n\n  objc_sync_enter(self);\n  *((_QWORD *)&unk_10099F9F0 + 2 * dword_10099F9E8) = a4;\n  v6 = objc_msgSend(a3, \"copy\");\n  v7 = dword_10099F9E8 + 1;\n  *((_QWORD *)&unk_10099F9F0 + 2 * dword_10099F9E8 + 1) = v6;\n  dword_10099F9E8 = v7;\n  objc_sync_exit(self);\n}", "assembly": "; \n; -[CCEventDispatcher queueEvent:selector:] from 0x1002962a0 to 0x100296308 (104 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10099a018\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, 0x1002962a0\nmov     rbp, rsp                                                       ; +0x1, 0x1002962a1\npush    r15                                                            ; +0x4, 0x1002962a4\npush    r14                                                            ; +0x6, 0x1002962a6\npush    r12                                                            ; +0x8, 0x1002962a8\npush    rbx                                                            ; +0xa, 0x1002962aa\nmov     r14, rcx                                                       ; +0xb, 0x1002962ab\nmov     r15, rdx                                                       ; +0xe, 0x1002962ae\nmov     rbx, rdi                                                       ; +0x11, 0x1002962b1\ncall    _objc_sync_enter                                               ; +0x14, 0x1002962b4\nmovsxd  rax, cs:dword_10099F9E8                                        ; +0x19, 0x1002962b9\nshl     rax, 4                                                         ; +0x20, 0x1002962c0\nlea     r12, unk_10099F9F0                                             ; +0x24, 0x1002962c4\nmov     [rax+r12], r14                                                 ; +0x2b, 0x1002962cb\nmov     rsi, cs:selRef_copy; SEL                                       ; +0x2f, 0x1002962cf\nmov     rdi, r15; id                                                   ; +0x36, 0x1002962d6\ncall    cs:_objc_msgSend_ptr                                           ; +0x39, 0x1002962d9\nmovsxd  rcx, cs:dword_10099F9E8                                        ; +0x3f, 0x1002962df\nlea     edx, [rcx+1]                                                   ; +0x46, 0x1002962e6\nshl     rcx, 4                                                         ; +0x49, 0x1002962e9\nmov     [rcx+r12+8], rax                                               ; +0x4d, 0x1002962ed\nmov     cs:dword_10099F9E8, edx                                        ; +0x52, 0x1002962f2\nmov     rdi, rbx; obj                                                  ; +0x58, 0x1002962f8\npop     rbx                                                            ; +0x5b, 0x1002962fb\npop     r12                                                            ; +0x5c, 0x1002962fc\npop     r14                                                            ; +0x5e, 0x1002962fe\npop     r15                                                            ; +0x60, 0x100296300\npop     rbp                                                            ; +0x62, 0x100296302\njmp     _objc_sync_exit                                                ; +0x63, 0x100296303", "xrefs": ["<???> @ 0x10099a018"], "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"}