{"type": "func", "start": 4297675152, "end": 4297675231, "name": "-[CCEventDispatcher init]", "pseudocode": "// \n// -[CCEventDispatcher init] from 0x100295190 to 0x1002951df (79 bytes)\n// \n// 2 xrefs:\n// > -[CCEventDispatcher init] @ 0x1002951b2\n// > <???> @ 0x100999ce8\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\nCCEventDispatcher *__cdecl -[CCEventDispatcher init](CCEventDispatcher *self, SEL a2)\n{\n  CCEventDispatcher *result; // rax\n  objc_super v3; // [rsp+0h] [rbp-10h] BYREF\n\n  v3.receiver = self;\n  v3.super_class = (Class)&OBJC_CLASS___CCEventDispatcher;\n  result = -[CCEventDispatcher init](&v3, \"init\");\n  if ( result )\n  {\n    result->dispatchEvents_ = 1;\n    *(_OWORD *)&result->keyboardDelegates_ = 0;\n    result->touchDelegates_ = nullptr;\n    dword_10099F9E8 = 0;\n  }\n  return result;\n}", "assembly": "; \n; -[CCEventDispatcher init] from 0x100295190 to 0x1002951df (79 bytes)\n; \n; 2 xrefs:\n; > -[CCEventDispatcher init] @ 0x1002951b2\n; > <???> @ 0x100999ce8\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, 0x100295190\nmov     rbp, rsp                                                       ; +0x1, 0x100295191\nsub     rsp, 10h                                                       ; +0x4, 0x100295194\nmov     [rbp+var_10.receiver], rdi                                     ; +0x8, 0x100295198\nmov     rax, cs:classRef_CCEventDispatcher_1                           ; +0xc, 0x10029519c\nmov     [rbp+var_10.super_class], rax                                  ; +0x13, 0x1002951a3\nmov     rsi, cs:selRef_init; SEL                                       ; +0x17, 0x1002951a7\nlea     rdi, [rbp+var_10]; objc_super *                                ; +0x1e, 0x1002951ae\ncall    _objc_msgSendSuper2; -[CCEventDispatcher init] ...             ; +0x22, 0x1002951b2\ntest    rax, rax                                                       ; +0x27, 0x1002951b7\njz      short loc_1002951D9                                            ; +0x2a, 0x1002951ba\nmov     byte ptr [rax+8], 1                                            ; +0x2c, 0x1002951bc\nxorps   xmm0, xmm0                                                     ; +0x30, 0x1002951c0\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x33, 0x1002951c3\nmov     qword ptr [rax+20h], 0                                         ; +0x37, 0x1002951c7\nmov     cs:dword_10099F9E8, 0                                          ; +0x3f, 0x1002951cf\nadd     rsp, 10h                                                       ; +0x49, 0x1002951d9\npop     rbp                                                            ; +0x4d, 0x1002951dd\nretn                                                                   ; +0x4e, 0x1002951de", "xrefs": ["-[CCEventDispatcher init] @ 0x1002951b2", "<???> @ 0x100999ce8"], "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"}