//
// cocos2d::CCKeypadHandler::initWithDelegate from 0x1800b41a0 to 0x1800b41da (58 bytes)
//
// 4 xrefs:
// > cocos2d::CCKeypadHandler::handlerWithDelegate @ 0x1800b4126
// > ??> @ 0x180106698
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b8820
//
// 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
//
char __fastcall cocos2d::CCKeypadHandler::initWithDelegate(
cocos2d::CCKeypadHandler *this,
struct cocos2d::CCKeypadDelegate *a2)
{
cocos2d::CCObject *v2; // rax
*((_QWORD *)this + 7) = a2;
v2 = (cocos2d::CCObject *)_RTDynamicCast(
a2,
0,
&cocos2d::CCKeypadDelegate `RTTI Type Descriptor',
&cocos2d::CCObject `RTTI Type Descriptor',
0);
cocos2d::CCObject::retain(v2);
return 1;
}