//
// openKeyboardJNI from 0x5e38b0 to 0x5e38f2 (66 bytes)
//
// 1 xrefs:
// > setKeyboardStateJNI @ 0x5e395a
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall openKeyboardJNI(char *a1, int a2, int a3, int a4)
{
int result; // r0
int v5; // r3
char *v6; // [sp+0h] [bp-10h] BYREF
int v7; // [sp+4h] [bp-Ch]
int v8; // [sp+8h] [bp-8h]
int v9; // [sp+Ch] [bp-4h]
v6 = a1;
v7 = a2;
v8 = a3;
v9 = a4;
result = cocos2d::JniHelper::getStaticMethodInfo(
&v6,
"org/cocos2dx/lib/Cocos2dxGLSurfaceView",
"openIMEKeyboard",
(int)"()V");
if ( result )
{
_JNIEnv::CallStaticVoidMethod((int)v6, v7, v8, v5);
return (*(int (__fastcall **)(char *, int))(*(_DWORD *)v6 + 92))(v6, v7);
}
return result;
}