//
// GJMapPack::hasCompletedMapPack from 0x806aa4 to 0x806aec (72 bytes)
//
// 4 xrefs:
// > GJAccountManager::onSyncAccountCompleted @ 0x98a128
// > GauntletSelectLayer::onPlay @ 0xa73804
// > GauntletNode::generateNode @ 0xa74dd8
// > ??> @ 0xf3b08
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:54:45 +0000
//
__int64 __fastcall GJMapPack::hasCompletedMapPack(GJMapPack *this)
{
int v2; // w0
unsigned int v3; // w1
int v4; // w20
v2 = GJMapPack::totalMaps(this);
v3 = 0;
if ( v2 )
{
v4 = GJMapPack::completedMaps(this);
return v4 >= (int)GJMapPack::totalMaps(this);
}
return v3;
}