//
// sub_1004F60E4 from 0x1004f60e4 to 0x1004f6140 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008536b0
//
// 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_1004F60E4(__int64 *a1)
{
__int64 v1; // x9
__int64 v2; // x8
int v3; // w11
void *v4; // x0
v1 = 0;
v2 = *a1;
*(_DWORD *)(*a1 + 760) = 0;
do
{
v3 = *(_DWORD *)(v2 + v1 + 672);
if ( v3 )
v3 = *(_DWORD *)(v2 + 756) - v3;
*(_DWORD *)(v2 + v1 + 764) = v3;
v1 += 4;
}
while ( v1 != 64 );
v4 = *(void **)(v2 + 736);
if ( v4 )
bzero(v4, *(unsigned int *)(v2 + 752));
return 0;
}