{"type": "func", "start": 5369173760, "end": 5369173840, "name": "SliderTouchLogic::registerWithTouchDispatcher", "pseudocode": "// \n// SliderTouchLogic::registerWithTouchDispatcher from 0x140071700 to 0x140071750 (80 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405370b8\n// > <???> @ 0x1406c627c\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 SliderTouchLogic::registerWithTouchDispatcher(SliderTouchLogic *a1)\n{\n  __int64 v2; // rax\n  struct cocos2d::CCTouchDelegate *v3; // rdi\n  cocos2d::CCTouchDispatcher *v4; // rax\n\n  v2 = cocos2d::CCDirector::sharedDirector(a1);\n  v3 = &a1->cocos2d::CCTouchDelegate;\n  if ( !a1 )\n    v3 = nullptr;\n  v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);\n  cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(v4, v3, -500, 1);\n}", "assembly": "; \n; SliderTouchLogic::registerWithTouchDispatcher from 0x140071700 to 0x140071750 (80 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405370b8\n; > <???> @ 0x1406c627c\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140071700\npush    rdi                                                            ; +0x5, 0x140071705\nsub     rsp, 20h                                                       ; +0x6, 0x140071706\nmov     rbx, rcx                                                       ; +0xa, 0x14007170a\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x14007170d\nxor     ecx, ecx                                                       ; +0x13, 0x140071713\nlea     rdi, [rbx+140h]                                                ; +0x15, 0x140071715\ntest    rbx, rbx                                                       ; +0x1c, 0x14007171c\nmov     r8, [rax]                                                      ; +0x1f, 0x14007171f\ncmovz   rdi, rcx                                                       ; +0x22, 0x140071722\nmov     rcx, rax                                                       ; +0x26, 0x140071726\ncall    qword ptr [r8+90h]                                             ; +0x29, 0x140071729\nmov     r9b, 1                                                         ; +0x30, 0x140071730\nmov     r8d, 0FFFFFE0Ch                                                ; +0x33, 0x140071733\nmov     rcx, rax                                                       ; +0x39, 0x140071739\nmov     rdx, rdi                                                       ; +0x3c, 0x14007173c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3f, 0x14007173f\nadd     rsp, 20h                                                       ; +0x44, 0x140071744\npop     rdi                                                            ; +0x48, 0x140071748\njmp     cs:?addPrioTargetedDelegate@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCTouchDelegate@2@H_N@Z; cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(cocos2d::CCTouchDelegate *,int,bool) ; +0x49, 0x140071749", "xrefs": ["<???> @ 0x1405370b8", "<???> @ 0x1406c627c"], "is_objc": false, "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"}