//
// sub_10047FF10 from 0x10047ff10 to 0x10047ff5f (79 bytes)
//
// 0 xrefs:
//
// 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 12:30:39 +0000
//
__int64 __fastcall sub_10047FF10(__int64 a1)
{
__int64 result; // rax
*(_QWORD *)a1 = off_100B4C790;
*(_OWORD *)(a1 + 12) = xmmword_100A0B830;
*(_QWORD *)(a1 + 32) = -1;
*(_QWORD *)(a1 + 44) = 0;
*(_DWORD *)(a1 + 52) = 0;
result = 1;
if ( (unsigned int)dword_100BE3E20 < 0xFFFFFFFE )
result = (unsigned int)(dword_100BE3E20 + 1);
dword_100BE3E20 = result;
*(_DWORD *)(a1 + 8) = result;
return result;
}