//
// cocos2d::CCKeyboardHandler::handlerWithDelegate from 0x809d00 to 0x809d38 (56 bytes)
//
// 1 xrefs:
// > cocos2d::CCKeyboardDispatcher::forceAddDelegate @ 0x808982
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:28 +0000
//
cocos2d::CCObject *__fastcall cocos2d::CCKeyboardHandler::handlerWithDelegate(
cocos2d::CCKeyboardHandler *this,
cocos2d::CCKeyboardDelegate *a2)
{
cocos2d::CCObject *v3; // r4
v3 = (cocos2d::CCObject *)operator new(0x38u);
cocos2d::CCObject::CCObject(v3);
*(_DWORD *)v3 = &off_D12C70;
if ( cocos2d::CCKeyboardHandler::initWithDelegate(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
cocos2d::CCObject::release(v3);
return nullptr;
}
return v3;
}