//
// GJMapPack::hasCompletedMapPack from 0x70e574 to 0x70e5bc (72 bytes)
//
// 4 xrefs:
// > GJAccountManager::onSyncAccountCompleted @ 0x848bc4
// > GauntletSelectLayer::onPlay @ 0x917bac
// > GauntletNode::generateNode @ 0x91a8a4
// > ??> @ 0xbad20
//
// 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; // w0
bool v3; // w1
int v4; // w20
v2 = GJMapPack::totalMaps(a1);
v3 = 0;
if ( v2 )
{
v4 = GJMapPack::completedMaps(a1);
return v4 >= GJMapPack::totalMaps(a1);
}
return v3;
}