//
// GJGameLevel::getAverageDifficulty from 0x701cf0 to 0x701d1c (44 bytes)
//
// 3 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x6103b8
// > LevelInfoLayer::updateLabelValues @ 0x6d9bc4
// > ??> @ 0x9bb38
//
// 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 GJGameLevel::getAverageDifficulty(GJGameLevel *a1)
{
int m_ratings; // w2
int v2; // w1
m_ratings = a1->m_ratings;
v2 = 0;
if ( m_ratings > 4 )
return llroundf((float)a1->m_ratingsSum / (float)m_ratings);
return v2;
}