//
// PlatformToolbox::setKeyboardState from 0x394444 to 0x39448a (70 bytes)
//
// 2 xrefs:
// > CCTextInputNode::onTextFieldAttachWithIME @ 0x3e368a
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x3e4a84
//
// 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 11:46:17 +0000
//
int __fastcall PlatformToolbox::setKeyboardState(PlatformToolbox *this, bool a2)
{
int result; // r0
int v4[3]; // [sp+0h] [bp-14h] BYREF
result = cocos2d::JniHelper::getStaticMethodInfo(
v4,
"com/customRobTop/BaseRobTopActivity",
"setKeyboardState",
"(Z)V");
if ( result )
{
_JNIEnv::CallStaticVoidMethod(v4[0], v4[1], v4[2], (int)this);
return _JNIEnv::DeleteLocalRef(v4[0]);
}
return result;
}