//
// sub_C06280 from 0xc06280 to 0xc062a8 (40 bytes)
//
// 2 xrefs:
// > jpeg_mem_dest @ 0xc06510
// > jpeg_mem_dest @ 0xc06518
//
// 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_C06280(__int64 a1)
{
__int64 v1; // x0
__int64 v2; // x1
_QWORD *v3; // x2
__int64 result; // x0
v1 = *(_QWORD *)(a1 + 40);
v2 = *(_QWORD *)(v1 + 72);
**(_QWORD **)(v1 + 40) = *(_QWORD *)(v1 + 64);
v3 = *(_QWORD **)(v1 + 48);
result = v2 - *(_QWORD *)(v1 + 8);
*v3 = result;
return result;
}