//
// sub_180001030 from 0x180001030 to 0x18000107c (76 bytes)
//
// 4 xrefs:
// > ??> @ 0x1801444b0
// > ??> @ 0x180180820
// > ??> @ 0x180189850
// > ??> @ 0x1801f600c
//
// 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 (__usercall **sub_180001030())@(void *Src@, void *@, int, int, int)
{
__int64 (__usercall **result)@(void *@, void *@, int, int, int); // rax
__int64 (__usercall **v1)@(void *@, void *@, int, int, int); // rcx
if ( (unsigned int)sub_1800C0A10(1) )
{
qword_1801D2550 = (__int64)&off_1801AC560;
return &off_1801AC560;
}
else
{
result = (__int64 (__usercall **)@(void *@, void *@, int, int, int))sub_1800C0A10(0);
v1 = &off_1801AC480;
if ( (_DWORD)result )
v1 = &off_1801AC4F0;
qword_1801D2550 = (__int64)v1;
}
return result;
}