// // jpeg_fdct_2x2 from 0x68470c to 0x684754 (72 bytes) // // 0 xrefs: // // 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 // int __fastcall jpeg_fdct_2x2(_DWORD *a1, _DWORD *a2, int a3) { unsigned __int8 *v6; // r1 unsigned __int8 *v7; // r0 int v8; // r3 int v9; // r6 int v10; // r0 int v11; // r1 int v12; // r2 int v13; // r3 int v14; // r5 int result; // r0 memset(a1, 0, 0x100u); v6 = (unsigned __int8 *)(a2[1] + a3); v7 = (unsigned __int8 *)(*a2 + a3); v8 = *v7; v9 = v7[1]; v10 = v6[1]; v11 = *v6; v12 = v8 + v9; v13 = v8 - v9; v14 = v11 + v10; result = v11 - v10; a1[8] = 16 * (v12 - v14); *a1 = 16 * (v12 + v14 - 512); a1[1] = 16 * (v13 + result); a1[9] = 16 * (v13 - result); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source