//
// sub_18006C730 from 0x18006c730 to 0x18006c7ef (191 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801acdc0
// > ??> @ 0x1801f9744
//
// 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:28 +0000
//
void __fastcall sub_18006C730(__int64 *a1)
{
__int64 v1; // rdi
unsigned int v2; // ebx
__int64 v3; // rax
__int64 v4; // rsi
int v5; // eax
int v6; // xmm2_4
v1 = *a1;
v2 = 0;
v3 = *(_QWORD *)(*a1 + 232);
*(float *)(*a1 + 548) = (float)((float)*(int *)(*(_QWORD *)(*a1 + 168) + 1744LL) * 0.5) - 10.0;
if ( *(int *)(v3 + 96) <= 0 )
{
LABEL_5:
sub_18006E610(v1);
v6 = *(_DWORD *)(v1 + 1092);
*(_DWORD *)(v1 + 552) = *(_DWORD *)(v1 + 1096);
*(_DWORD *)(v1 + 544) = v6;
sub_18006E7E0(v1);
}
else
{
v4 = 0;
while ( 1 )
{
sub_18009C0C0(v1, v2);
if ( v5 )
break;
++v2;
v4 += 8;
if ( (signed int)v2 >= *(_DWORD *)(*(_QWORD *)(v1 + 232) + 96LL) )
goto LABEL_5;
}
}
}