//
// Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeKeyDown from 0x7ee0b6 to 0x7ee0e4 (46 bytes)
//
// 0 xrefs:
//
// 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:01:02 +0000
//
int __fastcall Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeKeyDown(cocos2d::CCDirector *a1, int a2, int a3)
{
int v4; // r0
int v5; // r0
int v6; // r1
v4 = cocos2d::CCDirector::sharedDirector(a1);
if ( a3 == 4 )
{
v5 = (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 88))(v4);
v6 = 1;
return cocos2d::CCKeypadDispatcher::dispatchKeypadMSG(v5, v6);
}
if ( a3 == 82 )
{
v5 = (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 88))(v4);
v6 = 2;
return cocos2d::CCKeypadDispatcher::dispatchKeypadMSG(v5, v6);
}
return 0;
}