//
// PlatformToolbox::setKeyboardState from 0x4ebfd0 to 0x4ec068 (152 bytes)
//
// 3 xrefs:
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x5a3db0
// > CCTextInputNode::onTextFieldAttachWithIME @ 0x5a4c14
// > ??> @ 0x5c610
//
// 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
//
void PlatformToolbox::setKeyboardState(bool a1)
{
_BOOL4 v1; // w20
__int64 v2; // [xsp+20h] [xbp+20h] BYREF
__int64 v3; // [xsp+28h] [xbp+28h]
__int64 v4; // [xsp+30h] [xbp+30h]
v1 = a1;
if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v2,
"com/customRobTop/BaseRobTopActivity",
"setKeyboardState",
"(Z)V") )
{
_JNIEnv::CallStaticVoidMethod(v2, v3, v4, v1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 184LL))(v2, v3);
}
}