//
// sub_10097B810 from 0x10097b810 to 0x10097b877 (103 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:38:57 +0000
//
__int64 __fastcall sub_10097B810(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
__int64 result; // rax
v3 = *(_QWORD *)(a1 + 1016);
if ( v3 != a2 )
{
sub_10097C830(
v3 + 152,
*(_QWORD *)(a2 + 152),
*(_QWORD *)(a2 + 160),
0xEEEEEEEEEEEEEEEFLL * ((__int64)(*(_QWORD *)(a2 + 160) - *(_QWORD *)(a2 + 152)) >> 2));
v3 = *(_QWORD *)(a1 + 1016);
}
*(_QWORD *)(v3 + 60) = *(_QWORD *)(a2 + 60);
result = *(unsigned int *)(a2 + 68);
*(_DWORD *)(v3 + 68) = result;
return result;
}