//
// PlatformToolbox::tryShowRateDialog from 0x2be2b4 to 0x2be30c (88 bytes)
//
// 2 xrefs:
// > EndLevelLayer::customSetup @ 0x429e4c
// > RetryLevelLayer::customSetup @ 0x436010
//
// 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
//
int __fastcall PlatformToolbox::tryShowRateDialog(const char **a1)
{
int result; // r0
jstring v3; // r0
_JNIEnv *v4[3]; // [sp+0h] [bp-14h] BYREF
result = cocos2d::JniHelper::getStaticMethodInfo(
v4,
"com/customRobTop/BaseRobTopActivity",
"tryShowRateDialog",
"(Ljava/lang/String;)V");
if ( result )
{
v3 = _JNIEnv::NewStringUTF(v4[0], *a1);
_JNIEnv::CallStaticVoidMethod((int)v4[0], (int)v4[1], (int)v4[2], (int)v3);
_JNIEnv::DeleteLocalRef((int)v4[0]);
return _JNIEnv::DeleteLocalRef((int)v4[0]);
}
return result;
}