//
// CreateGuidelinesLayer::registerWithTouchDispatcher from 0x140134dc0 to 0x140134e10 (80 bytes)
//
// 8 xrefs:
// > ??> @ 0x1407364c0
// > ??> @ 0x140736a00
// > ??> @ 0x1407515c8
// > ??> @ 0x14077df40
// > ??> @ 0x140792840
// > ??> @ 0x140795950
// > ??> @ 0x1408348e8
// > ??> @ 0x14091709c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:27:04 +0000
//
// Merged with: CreateGuidelinesLayer::registerWithTouchDispatcher, EditorUI::registerWithTouchDispatcher, LevelPage::registerWithTouchDispatcher, TouchControlEditLayer::registerWithTouchDispatcher, UILayer::registerWithTouchDispatcher, UIPOptionsLayer::registerWithTouchDispatcher
void __fastcall CreateGuidelinesLayer::registerWithTouchDispatcher(__int64 a1)
{
__int64 v2; // rax
struct cocos2d::CCTouchDelegate *v3; // rdi
cocos2d::CCTouchDispatcher *v4; // rax
v2 = cocos2d::CCDirector::sharedDirector(a1);
v3 = (struct cocos2d::CCTouchDelegate *)(a1 + 320);
if ( !a1 )
v3 = nullptr;
v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::addTargetedDelegate(v4, v3, 0, 1);
}