{"type": "func", "start": 5368979248, "end": 5368979331, "name": "BoomScrollLayer::registerWithTouchDispatcher", "pseudocode": "// \n// BoomScrollLayer::registerWithTouchDispatcher from 0x140041f30 to 0x140041f83 (83 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1407065a8\n// > <???> @ 0x140714a10\n// > <???> @ 0x14090f584\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 11:25:29 +0000\n// \n\n// Merged with: BoomScrollLayer::registerWithTouchDispatcher, TableView::registerWithTouchDispatcher\nvoid __fastcall BoomScrollLayer::registerWithTouchDispatcher(__int64 a1)\n{\n  __int64 v2; // rax\n  struct cocos2d::CCTouchDelegate *v3; // rdi\n  cocos2d::CCTouchDispatcher *v4; // rax\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = (struct cocos2d::CCTouchDelegate *)(a1 + 320);\n  if ( !a1 )\n    v3 = nullptr;\n  v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);\n  cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(v4, v3, -138, 0);\n}", "assembly": "; \n; BoomScrollLayer::registerWithTouchDispatcher from 0x140041f30 to 0x140041f83 (83 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1407065a8\n; > <???> @ 0x140714a10\n; > <???> @ 0x14090f584\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 11:25:29 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140041f30\npush    rdi                                                            ; +0x5, 0x140041f35\nsub     rsp, 20h                                                       ; +0x6, 0x140041f36\nmov     rbx, rcx                                                       ; +0xa, 0x140041f3a\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x140041f3d\nxor     ecx, ecx                                                       ; +0x13, 0x140041f43\nlea     rdi, [rbx+140h]                                                ; +0x15, 0x140041f45\ntest    rbx, rbx                                                       ; +0x1c, 0x140041f4c\ncmovz   rdi, rcx                                                       ; +0x1f, 0x140041f4f\nmov     rcx, [rax]                                                     ; +0x23, 0x140041f53\nmov     r8, [rcx+90h]                                                  ; +0x26, 0x140041f56\nmov     rcx, rax                                                       ; +0x2d, 0x140041f5d\ncall    r8                                                             ; +0x30, 0x140041f60\nmov     rcx, rax                                                       ; +0x33, 0x140041f63\nxor     r9d, r9d                                                       ; +0x36, 0x140041f66\nmov     r8d, 0FFFFFF76h                                                ; +0x39, 0x140041f69\nmov     rdx, rdi                                                       ; +0x3f, 0x140041f6f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x42, 0x140041f72\nadd     rsp, 20h                                                       ; +0x47, 0x140041f77\npop     rdi                                                            ; +0x4b, 0x140041f7b\njmp     cs:?addPrioTargetedDelegate@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCTouchDelegate@2@H_N@Z; cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(cocos2d::CCTouchDelegate *,int,bool) ; +0x4c, 0x140041f7c", "xrefs": ["<???> @ 0x1407065a8", "<???> @ 0x140714a10", "<???> @ 0x14090f584"], "is_objc": false, "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"}