// // jpeg_read_raw_data from 0x8849e8 to 0x884a78 (144 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:03:13 +0000 // int __fastcall jpeg_read_raw_data(_DWORD *a1, int a2, unsigned int a3) { unsigned int v6; // r3 int v7; // r1 unsigned int v8; // r5 int result; // r0 if ( a1[5] != 206 ) { *(_DWORD *)(*a1 + 20) = 21; *(_DWORD *)(*a1 + 24) = a1[5]; (*(void (__fastcall **)(_DWORD *))*a1)(a1); } v6 = a1[35]; if ( v6 >= a1[29] ) { *(_DWORD *)(*a1 + 20) = 126; (*(void (__fastcall **)(_DWORD *, int))(*a1 + 4))(a1, -1); return 0; } else { v7 = a1[2]; if ( v7 ) { *(_DWORD *)(v7 + 4) = v6; *(_DWORD *)(a1[2] + 8) = a1[29]; (*(void (__fastcall **)(_DWORD *))a1[2])(a1); } v8 = a1[82] * a1[80]; if ( v8 > a3 ) { *(_DWORD *)(*a1 + 20) = 24; (*(void (__fastcall **)(_DWORD *))*a1)(a1); } result = (*(int (__fastcall **)(_DWORD *, int))(a1[113] + 12))(a1, a2); if ( result ) { result = v8; a1[35] += v8; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source