//
// sub_1005C6880 from 0x1005c6880 to 0x1005c68a4 (36 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009ab7c0
//
// This function is hookable on this platform (idp: arm, 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 11:09:25 +0000
//
__int64 __fastcall sub_1005C6880(__int64 a1, unsigned __int64 a2)
{
unsigned __int64 v2; // x8
v2 = HIDWORD(a2);
if ( *(_DWORD *)(*(_QWORD *)(a1 + 544) + 68LL) < HIDWORD(a2) )
LODWORD(v2) = *(_DWORD *)(*(_QWORD *)(a1 + 544) + 68LL);
*(_QWORD *)(a1 + 568) = (unsigned int)a2 | ((unsigned __int64)(unsigned int)v2 << 32);
return 0;
}