//
// GJMapPack::hasCompletedMapPack from 0x3ca4a2 to 0x3ca4c4 (34 bytes)
//
// 3 xrefs:
// > GJAccountManager::onSyncAccountCompleted @ 0x464b50
// > GauntletSelectLayer::onPlay @ 0x4d6d70
// > GauntletNode::generateNode @ 0x4d89fe
//
// 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
//
bool GJMapPack::hasCompletedMapPack(GJMapPack *a1)
{
int v2; // r0
int v3; // r4
v2 = GJMapPack::totalMaps(a1);
if ( v2 )
{
v3 = GJMapPack::completedMaps(a1);
LOBYTE(v2) = v3 >= GJMapPack::totalMaps(a1);
}
return v2;
}