//
// cocos2d::CCStandardTouchHandler::initWithDelegate from 0x100481410 to 0x100481464 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x10093c580
//
// 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
//
bool __fastcall cocos2d::CCStandardTouchHandler::initWithDelegate(
cocos2d::CCStandardTouchHandler *a1,
cocos2d::CCTouchDelegate *a2,
int a3)
{
cocos2d::CCObject *v5; // rdi
a1->m_pDelegate = a2;
if ( a2 )
v5 = (cocos2d::CCObject *)__dynamic_cast(
a2,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCTouchDelegate,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
-2);
else
v5 = nullptr;
cocos2d::CCObject::retain(v5);
a1->m_nPriority = a3;
a1->m_nEnabledSelectors = 0;
return 1;
}