{"type": "func", "start": 4300270240, "end": 4300270297, "name": "CreateGuidelinesLayer::registerWithTouchDispatcher", "pseudocode": "// \n// CreateGuidelinesLayer::registerWithTouchDispatcher from 0x10050eaa0 to 0x10050ead9 (57 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x100b68988\n// > <???> @ 0x100b69150\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 12:31:35 +0000\n// \n\n__int64 __fastcall CreateGuidelinesLayer::registerWithTouchDispatcher(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rax\n\n  v1 = cocos2d::CCDirector::sharedDirector();\n  v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 160LL))(v1);\n  return cocos2d::CCTouchDispatcher::addTargetedDelegate(v2, (void *)(a1 + 320), 0, 1);\n}", "assembly": "; \n; CreateGuidelinesLayer::registerWithTouchDispatcher from 0x10050eaa0 to 0x10050ead9 (57 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x100b68988\n; > <???> @ 0x100b69150\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 12:31:35 +0000\n; \npush    rbp                                                            ; +0x0, 0x10050eaa0\nmov     rbp, rsp                                                       ; +0x1, 0x10050eaa1\npush    rbx                                                            ; +0x4, 0x10050eaa4\npush    rax                                                            ; +0x5, 0x10050eaa5\nmov     rbx, rdi                                                       ; +0x6, 0x10050eaa6\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x10050eaa9\nmov     rcx, [rax]                                                     ; +0xe, 0x10050eaae\nmov     rdi, rax                                                       ; +0x11, 0x10050eab1\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x10050eab4\nadd     rbx, 140h                                                      ; +0x1a, 0x10050eaba\nmov     rdi, rax                                                       ; +0x21, 0x10050eac1\nmov     rsi, rbx                                                       ; +0x24, 0x10050eac4\nxor     edx, edx                                                       ; +0x27, 0x10050eac7\nmov     ecx, 1                                                         ; +0x29, 0x10050eac9\nadd     rsp, 8                                                         ; +0x2e, 0x10050eace\npop     rbx                                                            ; +0x32, 0x10050ead2\npop     rbp                                                            ; +0x33, 0x10050ead3\njmp     cocos2d__CCTouchDispatcher__addTargetedDelegate                ; +0x34, 0x10050ead4", "xrefs": ["<???> @ 0x100b68988", "<???> @ 0x100b69150"], "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"}