//
// cocos2d::CCKeypadHandler::handlerWithDelegate from 0x10004b600 to 0x10004b664 (100 bytes)
//
// 1 xrefs:
// > cocos2d::CCKeypadDispatcher::forceAddDelegate @ 0x1001ad748
//
// 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 *__fastcall cocos2d::CCKeypadHandler::handlerWithDelegate(cocos2d::CCKeypadDelegate *a1)
{
cocos2d::CCKeypadHandler *v2; // x19
v2 = (cocos2d::CCKeypadHandler *)operator new(0x40u);
cocos2d::CCObject::CCObject(v2);
v2->__vftable = (cocos2d::CCKeypadHandler_vtbl *)off_1007701D8;
if ( cocos2d::CCKeypadHandler::initWithDelegate(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
cocos2d::CCObject::release(v2);
return nullptr;
}
return v2;
}