//
// cocos2d::CCKeypadDispatcher::removeDelegate from 0x7d20c4 to 0x7d20e6 (34 bytes)
//
// 2 xrefs:
// > cocos2d::CCLayer::setKeypadEnabled @ 0x7d7544
// > cocos2d::CCLayer::onExit @ 0x7d8558
//
// 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::CCKeypadDelegate *__fastcall cocos2d::CCKeypadDispatcher::removeDelegate(
cocos2d::CCKeypadDelegate *this,
cocos2d::CCKeypadDelegate *a2)
{
cocos2d::CCKeypadDelegate *v2; // r4
v2 = this;
if ( a2 )
{
if ( *((_BYTE *)this + 56) )
{
this = (cocos2d::CCKeypadDelegate *)cocos2d::ccCArrayAppendValue(*((_DWORD *)this + 16));
*((_BYTE *)v2 + 58) = 1;
}
else
{
return cocos2d::CCKeypadDispatcher::forceRemoveDelegate(this, a2);
}
}
return this;
}