//
// sub_1004B0E84 from 0x1004b0e84 to 0x1004b0fe0 (348 bytes)
//
// 2 xrefs:
// > sub_1004B0E6C @ 0x1004b0e6c
// > InitFunc_355 @ 0x10051ce90
//
// 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
//
__int64 __fastcall sub_1004B0E84(__int64 a1)
{
*(_QWORD *)(a1 + 56) = a1 + 56;
*(_QWORD *)(a1 + 64) = a1 + 56;
*(_QWORD *)(a1 + 72) = 0;
*(_QWORD *)(a1 + 432) = &unk_100878660;
dword_1008786D8 = 256;
sub_1004D51DC(0, 0x4000000000000000LL, 4294934527LL, 0);
sub_1004D51DC(1, 0x4000000000000000LL, 4294934527LL, 0);
sub_1004D51DC(2, 0x4000000000000000LL, 4294934527LL, 0);
sub_1004D51DC(3, 0x4000000000000000LL, 4294934527LL, 0);
sub_1004D51DC(4, 0x4000000000000000LL, 4294934527LL, 0);
sub_1004D51DC(5, 0x4000000000000000LL, 4294934527LL, 0);
sub_1004D51DC(6, 0x4000000000000000LL, 4294934527LL, 0);
sub_1004D51DC(7, 0x4000000000000000LL, 4294934527LL, 0);
sub_1004D51DC(8, 0x4000000000000000LL, 4294934527LL, 0);
sub_1004D51DC(9, 0x4000000000000000LL, 4294934527LL, 0);
sub_1004D51DC(10, 0x4000000000000000LL, 4294934527LL, 0);
sub_1004D51DC(11, 0x4000000000000000LL, 4294934527LL, 0);
sub_1004D51DC(12, 0x4000000000000000LL, 4294934527LL, 0);
*(_DWORD *)(*(_QWORD *)(a1 + 432) + 40LL) |= 4u;
*(_DWORD *)(a1 + 52) = -1;
return a1;
}