// // jinit_compress_master from 0xe71564 to 0xe716c4 (352 bytes) // // 2 xrefs: // > jpeg_start_compress @ 0xe68170 // > @ 0xc0aa8 // // 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:37 +0000 // __int64 __fastcall jinit_compress_master(_QWORD **a1) { int v1; // w1 void (__fastcall **v3)(_QWORD); // x2 unsigned int v4; // w0 void (__fastcall *v5)(_QWORD **); // x2 int v6; // w1 void (__fastcall *v7)(_QWORD **); // x2 _BOOL4 v8; // w1 v1 = *((_DWORD *)a1 + 22); if ( v1 != 8 ) { v3 = (void (__fastcall **)(_QWORD))*a1; *((_DWORD *)v3 + 11) = v1; *((_DWORD *)v3 + 10) = 16; ((void (__fastcall *)(_QWORD **))**a1)(a1); } if ( !*((_DWORD *)a1 + 13) || (v4 = *((_DWORD *)a1 + 12)) == 0 || (v6 = *((_DWORD *)a1 + 14), v6 <= 0) ) { v5 = (void (__fastcall *)(_QWORD **))**a1; *((_DWORD *)*a1 + 10) = 33; v5(a1); v4 = *((_DWORD *)a1 + 12); v6 = *((_DWORD *)a1 + 14); } if ( v4 * (__int64)v6 != v4 * v6 ) { v7 = (void (__fastcall *)(_QWORD **))**a1; *((_DWORD *)*a1 + 10) = 72; v7(a1); } jinit_c_master_control(a1, 0); if ( !*((_DWORD *)a1 + 72) ) { jinit_color_converter((void (__fastcall ***)(_QWORD))a1); jinit_downsampler(a1); jinit_c_prep_controller(a1, 0); } jinit_forward_dct((__int64)a1); if ( *((_DWORD *)a1 + 73) ) jinit_arith_encoder((__int64)a1); else jinit_huff_encoder((__int64)a1); v8 = 1; if ( *((int *)a1 + 68) <= 1 ) v8 = *((_DWORD *)a1 + 74) != 0; jinit_c_coef_controller((__int64)a1, v8); jinit_c_main_controller(a1, 0); jinit_marker_writer(a1); ((void (__fastcall *)(_QWORD **))a1[1][6])(a1); return ((__int64 (__fastcall *)(_QWORD **))*a1[66])(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source