//
// GJMapPack::init from 0x140170c80 to 0x140170cd1 (81 bytes)
//
// 4 xrefs:
// > GJMapPack::create @ 0x140170689
// > GJMapPack::create @ 0x14017067a
// > ??> @ 0x14055c028
// > ??> @ 0x1406cae84
//
// 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::init(GJMapPack *a1)
{
int v2; // eax
sub_14003CCE0((void **)&a1->m_packName, byte_140518980, 0);
v2 = dword_1406C2ED0;
a1->m_MId = dword_1406C2ED0;
dword_1406C2ED0 = v2 + 1;
a1->m_levels = nullptr;
*(_QWORD *)&a1->m_stars = 0;
a1->m_packID = 0;
return 1;
}