//
// cocos2d::CCKeyboardHandler::initWithDelegate from 0x180044ee0 to 0x180044f1a (58 bytes)
//
// 4 xrefs:
// > cocos2d::CCKeyboardHandler::handlerWithDelegate @ 0x180044e66
// > ??> @ 0x1800f0db0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bb740
//
// This function is hookable on this platform (idp: pc, 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 11:21:40 +0000
//
char __fastcall cocos2d::CCKeyboardHandler::initWithDelegate(
cocos2d::CCKeyboardHandler *this,
struct cocos2d::CCKeyboardDelegate *a2)
{
cocos2d::CCObject *v2; // rax
*((_QWORD *)this + 7) = a2;
v2 = (cocos2d::CCObject *)_RTDynamicCast(
a2,
0,
&cocos2d::CCKeyboardDelegate `RTTI Type Descriptor',
&cocos2d::CCObject `RTTI Type Descriptor',
0);
cocos2d::CCObject::retain(v2);
return 1;
}