//
// cocos2d::CCKeypadDispatcher::forceAddDelegate from 0x100242514 to 0x100242550 (60 bytes)
//
// 2 xrefs:
// > cocos2d::CCKeypadDispatcher::addDelegate @ 0x100242510
// > cocos2d::CCKeypadDispatcher::dispatchKeypadMSG @ 0x10024268c
//
// 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 11:01:24 +0000
//
double __fastcall cocos2d::CCKeypadDispatcher::forceAddDelegate(__int64 a1, void *a2)
{
_QWORD *v3; // x0
double result; // d0
v3 = cocos2d::CCKeypadHandler::handlerWithDelegate(a2);
if ( v3 )
*(_QWORD *)&result = sub_1002E74E0(*(_QWORD *)(a1 + 56), v3).n128_u64[0];
return result;
}