//
// UIOptionsLayer::registerWithTouchDispatcher from 0x5d3754 to 0x5d3772 (30 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:07 +0000
//
int __fastcall UIOptionsLayer::registerWithTouchDispatcher(UIOptionsLayer *this)
{
int v2; // r0
cocos2d::CCTouchDispatcher *v3; // r0
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 80))(v2);
return cocos2d::CCTouchDispatcher::addTargetedDelegate(v3, (UIOptionsLayer *)((char *)this + 264), 0, 1);
}