//
// sub_180074EF0 from 0x180074ef0 to 0x180074f80 (144 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801ad490
// > ??> @ 0x1801f9ac8
//
// 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
//
void __fastcall sub_180074EF0(_QWORD *a1)
{
__int64 v1; // rdi
_DWORD *v2; // rdx
unsigned int v3; // ebx
__int64 v4; // rsi
int v5; // eax
v1 = *a1;
v2 = (_DWORD *)(*a1 + 552LL);
*(_DWORD *)(v1 + 548) = 1065353216;
*(_DWORD *)(v1 + 544) = 1065353216;
if ( v2 )
*v2 = *(_DWORD *)(*(_QWORD *)(v1 + 168) + 1744LL);
v3 = 0;
if ( *(int *)(*(_QWORD *)(v1 + 232) + 96LL) > 0 )
{
v4 = 0;
do
{
sub_18009C0C0(v1, v3);
if ( v5 )
break;
++v3;
v4 += 8;
}
while ( (signed int)v3 < *(_DWORD *)(*(_QWORD *)(v1 + 232) + 96LL) );
}
}