//
// PlatformToolbox::reportAchievementWithID from 0x2be160 to 0x2be1be (94 bytes)
//
// 1 xrefs:
// > AchievementManager::reportPlatformAchievementWithID @ 0x2da7c6
//
// 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::reportAchievementWithID(const char *a1, int a2)
{
jstring v3; // r0
_JNIEnv *v4[3]; // [sp+0h] [bp-14h] BYREF
if ( a2 > 99 )
{
if ( cocos2d::JniHelper::getStaticMethodInfo(
v4,
"com/customRobTop/BaseRobTopActivity",
"unlockAchievement",
"(Ljava/lang/String;)V") )
{
v3 = _JNIEnv::NewStringUTF(v4[0], a1);
_JNIEnv::CallStaticVoidMethod((int)v4[0], (int)v4[1], (int)v4[2], (int)v3);
_JNIEnv::DeleteLocalRef((int)v4[0]);
_JNIEnv::DeleteLocalRef((int)v4[0]);
}
}
}