//
// cocos2d::CCKeypadHandler::handlerWithDelegate from 0x7d1f78 to 0x7d1fb0 (56 bytes)
//
// 1 xrefs:
// > cocos2d::CCKeypadDispatcher::forceAddDelegate @ 0x7d2046
//
// 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:00:35 +0000
//
cocos2d::CCObject *__fastcall cocos2d::CCKeypadHandler::handlerWithDelegate(
cocos2d::CCKeypadHandler *this,
cocos2d::CCKeypadDelegate *a2)
{
cocos2d::CCObject *v3; // r4
v3 = (cocos2d::CCObject *)operator new(0x38u);
cocos2d::CCObject::CCObject(v3);
*(_DWORD *)v3 = &off_D05650;
if ( cocos2d::CCKeypadHandler::initWithDelegate((int)v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
cocos2d::CCObject::release(v3);
return nullptr;
}
return v3;
}