//
// jpeg_idct_1x1 from 0xe9771c to 0xe97754 (56 bytes)
//
// 3 xrefs:
// > ??> @ 0x89728
// > sub_E7F4E0 @ 0xe7f860
// > ??> @ 0x15439c0
//
// 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 13:11:01 +0000
//
__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;
}