//
// sub_1003C6290 from 0x1003c6290 to 0x1003c6315 (133 bytes)
//
// 0 xrefs:
//
// 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:29:34 +0000
//
__int64 __fastcall sub_1003C6290(__int64 a1)
{
__int64 result; // rax
__int64 v3; // rdi
unsigned int v4; // r14d
result = *(_QWORD *)(a1 + 664);
if ( result )
{
*(_DWORD *)(result + 1812) = *(_DWORD *)(a1 + 696);
}
else
{
v3 = *(_QWORD *)(a1 + 672);
if ( v3 )
{
result = sub_1007FEF90(v3);
if ( (_DWORD)result )
{
v4 = 0;
do
{
*(_DWORD *)(sub_1007FEFE0(*(_QWORD *)(a1 + 672), v4++) + 1812) = *(_DWORD *)(a1 + 696);
result = sub_1007FEF90(*(_QWORD *)(a1 + 672));
}
while ( v4 < (unsigned int)result );
}
}
}
return result;
}