//
// cocos2d::CCKeypadHandler::handlerWithDelegate from 0x100053dd4 to 0x100053e38 (100 bytes)
//
// 1 xrefs:
// > cocos2d::CCKeypadDispatcher::forceAddDelegate @ 0x100242528
//
// This function is hookable on this platform (idp: arm, 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 10:57:44 +0000
//
_QWORD *__fastcall cocos2d::CCKeypadHandler::handlerWithDelegate(void *a1)
{
_QWORD *v2; // x19
v2 = operator new(0x40u);
cocos2d::CCObject::CCObject(v2);
*v2 = off_1008BC9F0;
if ( (unsigned int)cocos2d::CCKeypadHandler::initWithDelegate((__int64)v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
cocos2d::CCObject::release(v2);
return nullptr;
}
return v2;
}