//
// sub_1000C3C90 from 0x1000c3c90 to 0x1000c3ce5 (85 bytes)
//
// 1 xrefs:
// > ??> @ 0x1000c3c82
//
// 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_1000C3C90(_QWORD *a1)
{
__int64 result; // rax
__int64 v2; // rsi
__int64 v3; // rax
__int64 v4; // rsi
result = sub_1000C40F0(*a1);
v2 = a1[1];
if ( v2 )
{
v3 = *(_QWORD *)(v2 + 16);
if ( v3 )
{
do
{
v4 = v3;
v3 = *(_QWORD *)(v3 + 16);
}
while ( v3 );
a1[1] = v4;
}
return sub_1000C40F0(*a1);
}
return result;
}