//
// PlatformToolbox::getDeviceRefreshRate from 0x640ee0 to 0x640f5c (124 bytes)
//
// 3 xrefs:
// > AppDelegate::applicationDidFinishLaunching @ 0x6e6a60
// > PlayLayer::resume @ 0x700020
// > ??> @ 0x710c8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:50:17 +0000
//
__int64 __fastcall PlatformToolbox::getDeviceRefreshRate(PlatformToolbox *this)
{
char StaticMethodInfo; // w0
double v2; // d0
__int64 v4[3]; // [xsp+20h] [xbp+20h] BYREF
StaticMethodInfo = cocos2d::JniHelper::getStaticMethodInfo(
v4,
"com/customRobTop/BaseRobTopActivity",
"getDeviceRefreshRate",
"()F");
LODWORD(v2) = 0;
if ( StaticMethodInfo )
_JNIEnv::CallStaticFloatMethod(v4[0], v4[1], v4[2], v2);
return _stack_chk_guard;
}