//
// GameManager::setHasRatingPower from 0x3becc8 to 0x3becfa (50 bytes)
//
// 3 xrefs:
// > GameLevelManager::onSuggestLevelStarsCompleted @ 0x3c1ae8
// > GameLevelManager::onRateDemonCompleted @ 0x3c1bf8
// > GameLevelManager::onRequestUserAccessCompleted @ 0x3c30d6
//
// 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 GameManager::setHasRatingPower(GameManager *a1, int a2)
{
int v4; // s15
a1->m_hasRP.value = a2;
v4 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);
a1->m_hasRP.seed = v4;
a1->m_hasRP.random = v4 + a2;
}