//
// sub_100513C20 from 0x100513c20 to 0x100513c48 (40 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095edc0
//
// 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 __fastcall sub_100513C20(__int64 a1)
{
LeaderboardType v1; // esi
v1 = *(_DWORD *)(a1 + 32);
if ( v1 != Creator )
{
*(_DWORD *)(a1 + 32) = 0;
LeaderboardsLayer::selectLeaderboard((LeaderboardsLayer *)(a1 - 408), v1, *(LeaderboardStat *)(a1 + 36));
}
}