//
// sub_1800D4850 from 0x1800d4850 to 0x1800d4941 (241 bytes)
//
// 2 xrefs:
// > sub_1800D38D0 @ 0x1800d3973
// > ??> @ 0x1801ba704
//
// 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_1800D4850())(_QWORD, _QWORD)
{
if ( !*(_DWORD *)&ModuleName )
return sub_1800D3530(0x10001u, nullptr);
xmmword_1801A9F20 = 0;
xmmword_1801A9F30 = 0;
qword_1801A9F40 = 0;
xmmword_1801A9F10 = (__int128)_mm_load_si128((const __m128i *)&xmmword_180107FE0);
memset(&unk_1801A9BD0, 0, 0x340u);
xmmword_1801A9BE0 = (__int128)_mm_load_si128(&xmmword_180104C80);
dword_1801A9BF0 = 1;
dword_1801A9BFC = 1;
xmmword_1801A9B98 = 0;
dword_1801A9C00 = 1;
xmmword_1801A9BB8 = 0;
qword_1801A9BC8 = 0;
xmmword_1801A9BA8 = 0;
*(_QWORD *)&xmmword_1801A9B98 = 0x800000018LL;
xmmword_1801A9B88 = (__int128)_mm_load_si128((const __m128i *)&xmmword_180107FF0);
DWORD2(xmmword_1801A9BB8) = 1;
dword_1801A9F48 = -1;
dword_1801A9C08 = 1;
return nullptr;
}