//
// sub_180066980 from 0x180066980 to 0x1800669ef (111 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801ac7a0
// > ??> @ 0x1801f9318
//
// 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:53:26 +0000
//
void __fastcall sub_180066980(__int64 *a1)
{
__int64 v1; // rsi
unsigned int v2; // ebx
__int64 v3; // rdi
int v4; // eax
v1 = *a1;
v2 = 0;
if ( *(int *)(*(_QWORD *)(*a1 + 232) + 96LL) > 0 )
{
v3 = 0;
do
{
sub_18009C0C0(v1, v2);
if ( v4 )
break;
++v2;
v3 += 8;
}
while ( (signed int)v2 < *(_DWORD *)(*(_QWORD *)(v1 + 232) + 96LL) );
}
}