//
// jpeg_fdct_1x2 from 0xe956c0 to 0xe95728 (104 bytes)
//
// 3 xrefs:
// > ??> @ 0x71308
// > sub_E6CE20 @ 0xe6d97c
// > ??> @ 0x1542d60
//
// 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:10:59 +0000
//
__int64 __fastcall jpeg_fdct_1x2(_DWORD *a1, _QWORD *a2, unsigned int a3)
{
int v6; // w0
int v7; // w2
int v8; // w1
__int64 result; // x0
memset(a1, 0, 0x100u);
v6 = *(unsigned __int8 *)(*a2 + a3);
v7 = *(unsigned __int8 *)(a2[1] + a3);
v8 = v6 + v7;
result = (unsigned int)(32 * (v6 - v7));
a1[8] = result;
*a1 = 32 * (v8 - 256);
return result;
}