//
// PlatformToolbox::getDeviceRefreshRate from 0x394b8c to 0x394bc8 (60 bytes)
//
// 2 xrefs:
// > AppDelegate::applicationDidFinishLaunching @ 0x3f6ff4
// > PlayLayer::resume @ 0x406390
//
// 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:18 +0000
//
int __fastcall PlatformToolbox::getDeviceRefreshRate(PlatformToolbox *this, int a2, int a3, int a4)
{
int v4; // r3
PlatformToolbox *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 = this;
v7 = a2;
v8 = a3;
v9 = a4;
if ( cocos2d::JniHelper::getStaticMethodInfo(
&v6,
"com/customRobTop/BaseRobTopActivity",
"getDeviceRefreshRate",
"()F") )
{
return _JNIEnv::CallStaticFloatMethod((int)v6, v7, v8, v4);
}
else
{
return 0;
}
}