//
// sub_1006DC190 from 0x1006dc190 to 0x1006dc1ee (94 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b92410
//
// 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 12:35:43 +0000
//
__int64 __fastcall sub_1006DC190(__int64 a1)
{
__int64 result; // rax
__int64 v2; // rcx
__int64 v3; // rdx
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 32) + 960LL))(*(_QWORD *)(a1 + 32));
result = *(_QWORD *)(a1 + 32);
if ( result && *(_QWORD *)(a1 + 48) && *(int *)(a1 + 40) > 0 )
{
result = *(unsigned int *)(result + 472);
v2 = 8;
v3 = 0;
do
{
*(_DWORD *)(*(_QWORD *)(a1 + 48) + v2) = result;
++v3;
v2 += 20;
}
while ( v3 < *(int *)(a1 + 40) );
}
return result;
}