//
// GJMapPack::totalMaps from 0x10058c940 to 0x10058c95a (26 bytes)
//
// 4 xrefs:
// > GameStatsManager::completedMapPack @ 0x100033f9b
// > MapPackCell::loadFromMapPack @ 0x10022a954
// > MapPackCell::loadFromMapPack @ 0x10022abdf
// > MapPackCell::loadFromMapPack @ 0x10022ac44
//
// This function is hookable on this platform (idp: pc, 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:32:25 +0000
//
__int64 __fastcall GJMapPack::totalMaps(__int64 a1)
{
__int64 v1; // rdi
v1 = *(_QWORD *)(a1 + 320);
if ( v1 )
return sub_1007FEF90(v1);
else
return 0;
}