//
// jpeg_fdct_2x1 from 0xe933f4 to 0xe9345c (104 bytes)
//
// 3 xrefs:
// > ??> @ 0x65638
// > sub_E6CE20 @ 0xe6d5bc
// > ??> @ 0x1542730
//
// 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:58 +0000
//
__int64 __fastcall jpeg_fdct_2x1(_DWORD *a1, _QWORD *a2, unsigned int a3)
{
unsigned __int8 *v6; // x2
int v7; // w0
int v8; // w1
__int64 result; // x0
memset(a1, 0, 0x100u);
v6 = (unsigned __int8 *)(*a2 + a3);
v7 = *v6;
LODWORD(v6) = v6[1];
v8 = v7 + (_DWORD)v6;
result = (unsigned int)(32 * (v7 - (_DWORD)v6));
a1[1] = result;
*a1 = 32 * (v8 - 256);
return result;
}