//
// cocos2d::CCLayer::unregisterScriptKeypadHandler from 0xd5d148 to 0xd5d178 (48 bytes)
//
// 3 xrefs:
// > cocos2d::CCLayer::~CCLayer @ 0xd5d1c8
// > cocos2d::CCLayer::registerScriptKeypadHandler @ 0xd5d484
// > ??> @ 0xd7860
//
// 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 13:07:48 +0000
//
_DWORD *__fastcall cocos2d::CCLayer::unregisterScriptKeypadHandler(_DWORD *this)
{
__int64 v1; // x19
if ( *((_QWORD *)this + 47) )
{
v1 = (__int64)this;
this = cocos2d::CCObject::release(*((_DWORD **)this + 47));
*(_QWORD *)(v1 + 376) = 0;
}
return this;
}