//
// cocos2d::CCKeypadHandler::handlerWithDelegate from 0x5cac68 to 0x5caca0 (56 bytes)
//
// 1 xrefs:
// > cocos2d::CCKeypadDispatcher::forceAddDelegate @ 0x5cad36
//
// 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
//
cocos2d::CCKeypadHandler *cocos2d::CCKeypadHandler::handlerWithDelegate(cocos2d::CCKeypadDelegate *a1)
{
cocos2d::CCKeypadHandler *v2; // r4
v2 = (cocos2d::CCKeypadHandler *)operator new(0x38u);
cocos2d::CCObject::CCObject(v2);
v2->__vftable = (cocos2d::CCKeypadHandler_vtbl *)&off_AA1F20;
if ( cocos2d::CCKeypadHandler::initWithDelegate(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
cocos2d::CCObject::release(v2);
return nullptr;
}
return v2;
}