//
// jpeg_idct_1x1 from 0xc2155c to 0xc21594 (56 bytes)
//
// 3 xrefs:
// > ??> @ 0x652b0
// > sub_C09320 @ 0xc096a0
// > ??> @ 0x122b440
//
// 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 jpeg_idct_1x1(__int64 a1, __int64 a2, __int16 *a3, _QWORD *a4, unsigned int a5)
{
__int64 result; // x0
result = *(unsigned __int8 *)(*(_QWORD *)(a1 + 440)
+ (((unsigned __int64)(unsigned int)(*a3 * **(_DWORD **)(a2 + 88) + 4100) >> 3) & 0x3FF)
- 384);
*(_BYTE *)(*a4 + a5) = result;
return result;
}