//
// sub_97644 from 0x97644 to 0x97694 (80 bytes)
//
// 1 xrefs:
// > sub_96758 @ 0x96758
//
// 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_97644(__int64 a1, int a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6)
{
int v7; // w8
*(_QWORD *)(a1 + 376) = a5;
*(_DWORD *)(a1 + 456) = a2;
if ( a1 != a6 && *(_DWORD *)(a6 + 40) == 9 )
{
v7 = *(_DWORD *)(a6 + 452);
*(_DWORD *)(a1 + 452) = v7;
*(_QWORD *)(a1 + 464) = *(_QWORD *)(a6 + 464);
*(_DWORD *)(a1 + 460) = *(_DWORD *)(a6 + 460);
if ( !v7 )
LABEL_9:
*(_DWORD *)(a1 + 452) = 1152;
}
else if ( !*(_DWORD *)(a1 + 452) )
{
goto LABEL_9;
}
return sub_97E28(a1);
}