{"type": "func", "start": 4295002496, "end": 4295002623, "name": "-[AppController dispatchQueuedEvents]", "pseudocode": "// \n// -[AppController dispatchQueuedEvents] from 0x100008980 to 0x1000089ff (127 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100999248\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 -[AppController dispatchQueuedEvents](AppController *self, SEL a2)\n{\n  _QWORD *v2; // r15\n  __int64 v3; // r12\n\n  objc_sync_enter(self);\n  if ( dword_10099EC00 > 0 )\n  {\n    v2 = qword_10099E800;\n    v3 = 0;\n    do\n    {\n      -[AppController performSelector:](self, \"performSelector:\", *v2);\n      ++v3;\n      ++v2;\n    }\n    while ( v3 < dword_10099EC00 );\n  }\n  dword_10099EC00 = 0;\n  objc_sync_exit(self);\n}", "assembly": "; \n; -[AppController dispatchQueuedEvents] from 0x100008980 to 0x1000089ff (127 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100999248\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, 0x100008980\nmov     rbp, rsp                                                       ; +0x1, 0x100008981\npush    r15                                                            ; +0x4, 0x100008984\npush    r14                                                            ; +0x6, 0x100008986\npush    r13                                                            ; +0x8, 0x100008988\npush    r12                                                            ; +0xa, 0x10000898a\npush    rbx                                                            ; +0xc, 0x10000898c\npush    rax                                                            ; +0xd, 0x10000898d\nmov     rbx, rdi                                                       ; +0xe, 0x10000898e\ncall    _objc_sync_enter                                               ; +0x11, 0x100008991\ncmp     cs:dword_10099EC00, 0                                          ; +0x16, 0x100008996\njle     short loc_1000089DF                                            ; +0x1d, 0x10000899d\nlea     r15, qword_10099E800                                           ; +0x1f, 0x10000899f\nmov     r14, cs:selRef_performSelector_                                ; +0x26, 0x1000089a6\nxor     r12d, r12d                                                     ; +0x2d, 0x1000089ad\nmov     r13, cs:_objc_msgSend_ptr                                      ; +0x30, 0x1000089b0\nnop     word ptr [rax+rax+00000000h]                                   ; +0x37, 0x1000089b7\nmov     rdx, [r15]                                                     ; +0x40, 0x1000089c0\nmov     rdi, rbx; id                                                   ; +0x43, 0x1000089c3\nmov     rsi, r14; SEL                                                  ; +0x46, 0x1000089c6\ncall    r13 ; _objc_msgSend; -[AppController performSelector:] ...     ; +0x49, 0x1000089c9\ninc     r12                                                            ; +0x4c, 0x1000089cc\nmovsxd  rax, cs:dword_10099EC00                                        ; +0x4f, 0x1000089cf\nadd     r15, 8                                                         ; +0x56, 0x1000089d6\ncmp     r12, rax                                                       ; +0x5a, 0x1000089da\njl      short loc_1000089C0                                            ; +0x5d, 0x1000089dd\nmov     cs:dword_10099EC00, 0                                          ; +0x5f, 0x1000089df\nmov     rdi, rbx; obj                                                  ; +0x69, 0x1000089e9\nadd     rsp, 8                                                         ; +0x6c, 0x1000089ec\npop     rbx                                                            ; +0x70, 0x1000089f0\npop     r12                                                            ; +0x71, 0x1000089f1\npop     r13                                                            ; +0x73, 0x1000089f3\npop     r14                                                            ; +0x75, 0x1000089f5\npop     r15                                                            ; +0x77, 0x1000089f7\npop     rbp                                                            ; +0x79, 0x1000089f9\njmp     _objc_sync_exit                                                ; +0x7a, 0x1000089fa", "xrefs": ["<???> @ 0x100999248"], "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"}