//
// cocos2d::CCLayer::unregisterScriptKeypadHandler from 0x1004a94f0 to 0x1004a951c (44 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:30:55 +0000
//
char __fastcall cocos2d::CCLayer::unregisterScriptKeypadHandler(__int64 a1)
{
_DWORD *v2; // rdi
char result; // al
v2 = *(_DWORD **)(a1 + 376);
if ( v2 )
{
result = cocos2d::CCObject::release(v2);
*(_QWORD *)(a1 + 376) = 0;
}
return result;
}