//
// sub_1004F69EC from 0x1004f69ec to 0x1004f6a48 (92 bytes)
//
// 0 xrefs:
//
// 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_1004F69EC(__int64 a1)
{
__int64 v1; // x8
int v2; // w10
v1 = 0;
*(_DWORD *)(a1 + 760) = 0;
do
{
v2 = *(_DWORD *)(a1 + v1 + 672);
if ( v2 )
v2 = *(_DWORD *)(a1 + 756) - v2;
*(_DWORD *)(a1 + v1 + 764) = v2;
v1 += 4;
}
while ( v1 != 64 );
if ( *(_QWORD *)(a1 + 736) )
bzero(*(void **)(a1 + 736), *(unsigned int *)(a1 + 752));
return 0;
}