{"type": "func", "start": 4300264560, "end": 4300264617, "name": "CreateGuidelinesLayer::registerWithTouchDispatcher", "pseudocode": "// \n// CreateGuidelinesLayer::registerWithTouchDispatcher from 0x10050d470 to 0x10050d4a9 (57 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x10095bfe8\n// > <???> @ 0x10095c728\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 __fastcall CreateGuidelinesLayer::registerWithTouchDispatcher(CreateGuidelinesLayer *a1)\n{\n  cocos2d::CCDirector *v1; // rax\n  cocos2d::CCTouchDispatcher *v2; // rax\n\n  v1 = cocos2d::CCDirector::sharedDirector();\n  v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);\n  cocos2d::CCTouchDispatcher::addTargetedDelegate(v2, &a1->cocos2d::CCTouchDelegate, 0, 1);\n}", "assembly": "; \n; CreateGuidelinesLayer::registerWithTouchDispatcher from 0x10050d470 to 0x10050d4a9 (57 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x10095bfe8\n; > <???> @ 0x10095c728\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, 0x10050d470\nmov     rbp, rsp                                                       ; +0x1, 0x10050d471\npush    rbx                                                            ; +0x4, 0x10050d474\npush    rax                                                            ; +0x5, 0x10050d475\nmov     rbx, rdi                                                       ; +0x6, 0x10050d476\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x10050d479\nmov     rcx, [rax]                                                     ; +0xe, 0x10050d47e\nmov     rdi, rax                                                       ; +0x11, 0x10050d481\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x10050d484\nadd     rbx, 140h                                                      ; +0x1a, 0x10050d48a\nmov     rdi, rax                                                       ; +0x21, 0x10050d491\nmov     rsi, rbx                                                       ; +0x24, 0x10050d494\nxor     edx, edx                                                       ; +0x27, 0x10050d497\nmov     ecx, 1                                                         ; +0x29, 0x10050d499\nadd     rsp, 8                                                         ; +0x2e, 0x10050d49e\npop     rbx                                                            ; +0x32, 0x10050d4a2\npop     rbp                                                            ; +0x33, 0x10050d4a3\njmp     cocos2d__CCTouchDispatcher__addTargetedDelegate                ; +0x34, 0x10050d4a4", "xrefs": ["<???> @ 0x10095bfe8", "<???> @ 0x10095c728"], "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"}