//
// sub_1005FB7F4 from 0x1005fb7f4 to 0x1005fb850 (92 bytes)
//
// 1 xrefs:
// > sub_1005F385C @ 0x1005f3ac8
//
// 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_1005FB7F4(__int64 a1, __int64 a2)
{
if ( !a2 )
return 0;
*(_DWORD *)(a1 + 4) = *(_DWORD *)(a2 + 4);
if ( !(unsigned int)sub_1005FB850(a1, *(char **)(a2 + 8)) )
return 0;
*(_QWORD *)(a1 + 16) = *(_QWORD *)(a2 + 16);
return 1;
}