//
// PlatformToolbox::tryShowRateDialog from 0x64074c to 0x640824 (216 bytes)
//
// 3 xrefs:
// > EndLevelLayer::customSetup @ 0x8fc7a4
// > RetryLevelLayer::customSetup @ 0x91944c
// > ??> @ 0x4ea00
//
// 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::tryShowRateDialog(__int64 a1)
{
__int64 v2; // x1
__int64 v3; // x20
__int64 v5; // [xsp+20h] [xbp+20h] BYREF
__int64 v6; // [xsp+28h] [xbp+28h]
__int64 v7; // [xsp+30h] [xbp+30h]
if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v5,
"com/customRobTop/BaseRobTopActivity",
"tryShowRateDialog",
"(Ljava/lang/String;)V") )
{
v2 = a1 + 1;
if ( (*(_BYTE *)a1 & 1) != 0 )
v2 = *(_QWORD *)(a1 + 16);
v3 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 1336LL))(v5, v2);
_JNIEnv::CallStaticVoidMethod(v5, v6, v7, v3);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 184LL))(v5, v3);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 184LL))(v5, v6);
}
return _stack_chk_guard;
}