//
// GameLevelManager::dtShouldUploadLevel from 0x4aab1c to 0x4aab6a (78 bytes)
//
// 2 xrefs:
// > GameLevelManager::purgeUnusedLevels @ 0x4ae0b4
// > GameLevelManager::uploadDeathData @ 0x4bcdb2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:58 +0000
//
bool __fastcall GameLevelManager::dtShouldUploadLevel(GameLevelManager *this, GJGameLevel *a2)
{
int v3; // r0
int v4; // r3
int v5; // r4
v3 = GJAccountManager::sharedState(this);
v4 = *(_DWORD *)(v3 + 280) - *(_DWORD *)(v3 + 284);
if ( v4 <= 0 )
return 0;
v5 = *((_DWORD *)a2 + 326);
if ( v5 <= 0 )
return 0;
if ( v5 >= 1000 )
return 1;
return (int)((*((_DWORD *)a2 + 67) - *((_DWORD *)a2 + 68) - 1640531535 * v4) % 0x3E8u) < v5;
}