//
// CCTextInputMenu::registerWithTouchDispatcher from 0x6b6b14 to 0x6b6b68 (84 bytes)
//
// 2 xrefs:
// > ??> @ 0xc7d98
// > ??> @ 0x141f808
//
// This function is hookable on this platform (idp: arm, 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 12:50:52 +0000
//
__int64 __fastcall CCTextInputMenu::registerWithTouchDispatcher(CCTextInputMenu *this)
{
__int64 v2; // x0
cocos2d::CCDirector *v3; // x19
__int64 v4; // x0
__int64 v5; // x0
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
v4 = cocos2d::CCDirector::sharedDirector(v3);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4);
return cocos2d::CCTouchDispatcher::addTargetedDelegate(
v3,
(CCTextInputMenu *)((char *)this + 320),
*(_DWORD *)(v5 + 128) - 2,
1);
}