//
// sub_1800013F0 from 0x1800013f0 to 0x1800014d0 (224 bytes)
//
// 2 xrefs:
// > ??> @ 0x1800e52a0
// > ??> @ 0x1801ad054
//
// 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
//
// Hidden C++ exception states: #wind=5
int sub_1800013F0()
{
_QWORD *v0; // rax
_QWORD *v1; // rax
Mtx_init_in_situ((_Mtx_t)&unk_1801A8558, 2);
*(_OWORD *)&xmmword_1801A85A8 = 0;
xmmword_1801A85B8 = 0;
qword_1801A85C8 = 0;
v0 = operator new(0x10u);
v0[1] = 0;
xmmword_1801A85A8 = v0;
*v0 = &xmmword_1801A85A8;
dword_1801A85D0 = 0;
qword_1801A85D8 = 0;
qword_1801A85E0 = 0;
v1 = operator new(0x18u);
*v1 = v1;
v1[1] = v1;
qword_1801A85D8 = (__int64)v1;
xmmword_1801A85E8 = 0;
qword_1801A85F8 = 0;
qword_1801A8600 = 7;
qword_1801A8608 = 8;
dword_1801A85D0 = 1065353216;
sub_180075CC0(&xmmword_1801A85E8, 16, v1);
return atexit(_dcrt_uninitialize_environments_nolock);
}