//
// GJMapPack::init from 0x14026bb90 to 0x14026bbe1 (81 bytes)
//
// 4 xrefs:
// > GJMapPack::create @ 0x14026b566
// > GJMapPack::create @ 0x14026b557
// > ??> @ 0x14075c948
// > ??> @ 0x14091ca30
//
// 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 11:28:52 +0000
//
__int64 __fastcall GJMapPack::init(__int64 a1)
{
int v2; // eax
sub_1400405A0((void **)(a1 + 344), &byte_1406ED6E0, 0);
v2 = dword_14090BFBC;
*(_DWORD *)(a1 + 416) = dword_14090BFBC;
dword_14090BFBC = v2 + 1;
*(_QWORD *)(a1 + 320) = 0;
*(_QWORD *)(a1 + 336) = 0;
*(_DWORD *)(a1 + 328) = 0;
return 1;
}