//
// PlatformToolbox::setBlockBackButton from 0x4ec0f8 to 0x4ec190 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0xbda50
//
// 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::setBlockBackButton(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",
"setBlockBackButton",
"(Z)V") )
{
_JNIEnv::CallStaticVoidMethod(v2, v3, v4, v1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 184LL))(v2, v3);
}
}