//
// sub_1800F2DA0 from 0x1800f2da0 to 0x1800f2dfd (93 bytes)
//
// 1 xrefs:
// > sub_1800E4E00 @ 0x1800e5075
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:54:22 +0000
//
__int64 __fastcall sub_1800F2DA0(__int64 a1, __int64 a2, int a3, int a4, int a5, int a6, char a7)
{
if ( a3 < 0 || a4 < 0 || a6 < 1 )
return 31;
*(_DWORD *)(a1 + 28) = a6;
*(_DWORD *)(a1 + 24) = a5;
*(_BYTE *)(a1 + 40) = a7;
*(_QWORD *)(a1 + 80) = a1 + 72;
*(_QWORD *)(a1 + 72) = a1 + 72;
*(_QWORD *)a1 = a2;
*(_QWORD *)(a1 + 88) = 0;
*(_QWORD *)(a1 + 56) = a1 + 48;
*(_QWORD *)(a1 + 48) = a1 + 48;
*(_QWORD *)(a1 + 64) = 0;
*(_DWORD *)(a1 + 32) = a3;
*(_DWORD *)(a1 + 36) = a4;
*(_QWORD *)(a1 + 16) = 0;
return 0;
}