//
// GJGameLevel::getAverageDifficulty from 0x1000cf008 to 0x1000cf034 (44 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::updateLabelValues @ 0x10002cfd8
// > LevelCell::loadCustomLevelCell @ 0x100134938
//
// 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 10:58:53 +0000
//
unsigned int __fastcall GJGameLevel::getAverageDifficulty(__int64 a1)
{
int v1; // w8
v1 = *(_DWORD *)(a1 + 636);
if ( v1 >= 5 )
return llroundf((float)*(int *)(a1 + 640) / (float)(unsigned int)v1);
else
return 0;
}