//
// cocos2d::CCKeyboardHandler::initWithDelegate from 0x180044b10 to 0x180044b4a (58 bytes)
//
// 4 xrefs:
// > cocos2d::CCKeyboardHandler::handlerWithDelegate @ 0x180044a96
// > ??> @ 0x1800ead60
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1638
//
// 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::CCKeyboardHandler::initWithDelegate(
cocos2d::CCKeyboardHandler *this,
struct cocos2d::CCKeyboardDelegate *a2)
{
cocos2d::CCObject *v2; // rax
this->m_pDelegate = a2;
v2 = (cocos2d::CCObject *)_RTDynamicCast(
a2,
0,
&cocos2d::CCKeyboardDelegate `RTTI Type Descriptor',
&cocos2d::CCObject `RTTI Type Descriptor',
0);
cocos2d::CCObject::retain(v2);
return 1;
}