//
// GJGameLevel::getAverageDifficulty from 0x1000acb14 to 0x1000acb40 (44 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::updateLabelValues @ 0x1000298a4
// > LevelCell::loadCustomLevelCell @ 0x10010d808
//
// 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 GJGameLevel::getAverageDifficulty(GJGameLevel *a1)
{
int m_ratings; // w8
m_ratings = a1->m_ratings;
if ( m_ratings >= 5 )
return llroundf((float)a1->m_ratingsSum / (float)(unsigned int)m_ratings);
else
return 0;
}