//
// sub_1000AD484 from 0x1000ad484 to 0x1000ad528 (164 bytes)
//
// 2 xrefs:
// > sub_1000AD17C @ 0x1000ad1b4
// > sub_1003A6DB0 @ 0x1003a6de0
//
// 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_1000AD484(__int64 a1, __int64 a2, __int64 a3)
{
*(_QWORD *)(a1 + 128) = &off_100781440;
*(_QWORD *)(a1 + 176) = 0;
*(_QWORD *)(a1 + 8) = 0;
*(_QWORD *)(a1 + 16) = off_100781300;
*(_QWORD *)a1 = &off_100781418;
std::ios_base::init((std::ios_base *)(a1 + 128), (void *)(a1 + 24));
*(_QWORD *)(a1 + 264) = 0;
*(_DWORD *)(a1 + 272) = -1;
*(_QWORD *)a1 = off_1007812D8;
*(_QWORD *)(a1 + 128) = off_100781328;
*(_QWORD *)(a1 + 16) = off_100781300;
sub_1000B3C64(a1 + 24, a2, a3);
return a1;
}