//
// sub_C0A5A0 from 0xc0a5a0 to 0xc0a5cc (44 bytes)
//
// 1 xrefs:
// > jinit_huff_decoder @ 0xc0dba4
//
// 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_C0A5A0(__int64 a1)
{
__int64 v1; // x2
__int64 v2; // x3
__int64 result; // x0
v1 = *(_QWORD *)(a1 + 624);
v2 = *(_QWORD *)(a1 + 616);
result = (unsigned int)(*(_DWORD *)(v2 + 36) + *(_DWORD *)(v1 + 32) / 8);
*(_DWORD *)(v2 + 36) = result;
*(_DWORD *)(v1 + 32) = 0;
return result;
}