//
// CreateGuidelinesLayer::registerWithTouchDispatcher from 0x14009b7d0 to 0x14009b81d (77 bytes)
//
// 8 xrefs:
// > ??> @ 0x1405423a8
// > ??> @ 0x1405428c0
// > ??> @ 0x140552b28
// > ??> @ 0x1405784d0
// > ??> @ 0x14057ad08
// > ??> @ 0x14058d120
// > ??> @ 0x140622518
// > ??> @ 0x1406c74dc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Merged with: CreateGuidelinesLayer::registerWithTouchDispatcher, EditorUI::registerWithTouchDispatcher, LevelPage::registerWithTouchDispatcher, UILayer::registerWithTouchDispatcher, UIOptionsLayer::registerWithTouchDispatcher, UIPOptionsLayer::registerWithTouchDispatcher
void __fastcall CreateGuidelinesLayer::registerWithTouchDispatcher(struct cocos2d::CCTouchDelegate *a1)
{
__int64 v2; // rax
struct cocos2d::CCTouchDelegate *v3; // rdi
cocos2d::CCTouchDispatcher *v4; // rax
v2 = cocos2d::CCDirector::sharedDirector(a1);
v3 = a1 + 40;
if ( !a1 )
v3 = nullptr;
v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::addTargetedDelegate(v4, v3, 0, 1);
}