//
// sub_10005C380 from 0x10005c380 to 0x10005c3c7 (71 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:19:40 +0000
//
__int64 __fastcall sub_10005C380(__int64 a1, __int64 a2)
{
__int64 v2; // rax
_QWORD *v3; // rdx
v2 = *(_QWORD *)(a1 + 56);
v3 = (_QWORD *)(v2 + 72);
if ( !v2 )
v3 = (_QWORD *)(a1 + 48);
*v3 = a2;
*(_QWORD *)(a1 + 56) = a2;
*(_QWORD *)(a2 + 64) = v2;
*(_QWORD *)(a2 + 72) = 0;
*(_QWORD *)(a2 + 16) = a1;
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a2 + 80) + 40LL))(*(_QWORD *)(a2 + 80));
return a2;
}