//
// cocos2d::CCKeypadHandler::setDelegate from 0x1003c19e0 to 0x1003c1a4b (107 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall cocos2d::CCKeypadHandler::setDelegate(cocos2d::CCKeypadHandler *a1, cocos2d::CCKeypadDelegate *a2)
{
cocos2d::CCObject *v3; // rax
cocos2d::CCKeypadHandler_vtbl *v4; // rdi
cocos2d::CCObject *v5; // rax
if ( a2 )
{
v3 = (cocos2d::CCObject *)__dynamic_cast(
a2,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCKeypadDelegate,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
-2);
cocos2d::CCObject::retain(v3);
}
v4 = a1[1].__vftable;
if ( v4 )
{
v5 = (cocos2d::CCObject *)__dynamic_cast(
v4,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCKeypadDelegate,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
-2);
cocos2d::CCObject::release(v5);
}
a1[1].__vftable = (cocos2d::CCKeypadHandler_vtbl *)a2;
}