//
// GameLevelManager::onBanUserCompleted from 0x3c1460 to 0x3c151e (190 bytes)
//
// 1 xrefs:
// > GameLevelManager::handleIt @ 0x3d7498
//
// 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 GameLevelManager::onBanUserCompleted(GameLevelManager *a1, int a2)
{
_BOOL4 v4; // r7
int result; // r0
char *v6; // [sp+8h] [bp-Ch] BYREF
sub_776584((int)&v6, "-1");
v4 = sub_3BE0D8(a2, (int)&v6);
result = sub_774008(&v6);
if ( !v4 )
{
GameLevelManager::getLeaderboardKey((int)&v6, (int)a1, (_BYTE *)&dword_0 + 1, 0);
GameLevelManager::resetTimerForKey(a1, v6);
sub_774008(&v6);
GameLevelManager::getLeaderboardKey((int)&v6, (int)a1, (_BYTE *)&dword_0 + 1, 1);
GameLevelManager::resetTimerForKey(a1, v6);
sub_774008(&v6);
GameLevelManager::getLeaderboardKey((int)&v6, (int)a1, (_BYTE *)&dword_0 + 1, 2);
GameLevelManager::resetTimerForKey(a1, v6);
sub_774008(&v6);
GameLevelManager::getLeaderboardKey((int)&v6, (int)a1, (_BYTE *)&dword_0 + 1, 3);
GameLevelManager::resetTimerForKey(a1, v6);
return sub_774008(&v6);
}
return result;
}