//
// sub_1800C4280 from 0x1800c4280 to 0x1800c43d4 (340 bytes)
//
// 3 xrefs:
// > sub_1800C3A70 @ 0x1800c3ae7
// > sub_1800C4620 @ 0x1800c467d
// > ??> @ 0x1801fde24
//
// 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_1800C4280(__int64 a1, __int64 a2, __int64 a3)
{
__int128 v3; // xmm0
__int64 v4; // rdi
__int64 v6; // rsi
int v7; // eax
int v8; // eax
int *v9; // rdi
__int64 i; // rbx
int v11; // eax
wchar_t String[8]; // [rsp+20h] [rbp-28h] BYREF
__int16 v14; // [rsp+30h] [rbp-18h]
v3 = *(_OWORD *)(a2 + 36);
v4 = a2 + 36;
v14 = 0;
*(_OWORD *)String = v3;
*(_DWORD *)a3 = wcstoul(String, nullptr, 16);
*(_QWORD *)String = *(_QWORD *)(v4 + 18);
*(_QWORD *)&String[4] = 0;
v14 = 0;
*(_WORD *)(a3 + 4) = wcstoul(String, nullptr, 16);
*(_QWORD *)String = *(_QWORD *)(v4 + 28);
*(_QWORD *)&String[4] = 0;
v14 = 0;
*(_WORD *)(a3 + 6) = wcstoul(String, nullptr, 16);
v6 = a3 + 8;
v14 = 0;
v7 = *(_DWORD *)(v4 + 38);
*(_OWORD *)String = 0;
*(_DWORD *)String = v7;
*(_BYTE *)(a3 + 8) = wcstoul(String, nullptr, 16);
v14 = 0;
v8 = *(_DWORD *)(v4 + 42);
*(_OWORD *)String = 0;
*(_DWORD *)String = v8;
*(_BYTE *)(a3 + 9) = wcstoul(String, nullptr, 16);
v9 = (int *)(v4 + 48);
for ( i = 2; i < 8; ++i )
{
v14 = 0;
v11 = *v9;
*(_OWORD *)String = 0;
*(_DWORD *)String = v11;
*(_BYTE *)(v6 + i) = wcstoul(String, nullptr, 16);
++v9;
}
return 0;
}