//
// cocos2d::CCKeypadHandler::handlerWithDelegate from 0xae1188 to 0xae1200 (120 bytes)
//
// 2 xrefs:
// > cocos2d::CCKeypadDispatcher::forceAddDelegate @ 0xae12ec
// > ??> @ 0x5c028
//
// 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 *v1; // x19
v1 = (cocos2d::CCKeypadHandler *)operator new(0x40u);
cocos2d::CCObject::CCObject(v1);
v1->__vftable = (cocos2d::CCKeypadHandler_vtbl *)&off_1201780;
if ( cocos2d::CCKeypadHandler::initWithDelegate(v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
cocos2d::CCObject::release(v1);
return nullptr;
}
}