// // jinit_huff_decoder from 0x88ae9c to 0x88af1c (128 bytes) // // 2 xrefs: // > jinit_master_decompress @ 0x88fb08 // > jpeg_read_coefficients @ 0x890ba0 // // 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:17 +0000 // char *__fastcall jinit_huff_decoder(int a1) { _DWORD *v2; // r0 _DWORD *v3; // r6 char *result; // r0 int v5; // r2 void *v6; // r3 int v7; // r4 _QWORD *v8; // r6 v2 = (_DWORD *)(**(int (***)(void))(a1 + 4))(); *(_DWORD *)(a1 + 468) = v2; v3 = v2; *v2 = sub_889C4C; v2[2] = sub_8886D4; if ( *(_DWORD *)(a1 + 224) ) { result = (char *)(**(int (__fastcall ***)(int, int, _DWORD))(a1 + 4))(a1, 1, *(_DWORD *)(a1 + 36) << 8); v5 = *(_DWORD *)(a1 + 36); v6 = result; *(_DWORD *)(a1 + 160) = result; if ( v5 > 0 ) { v7 = 0; do { ++v7; result = (char *)memset(v6, 255, 0x100u); v6 = result + 256; } while ( *(_DWORD *)(a1 + 36) > v7 ); } v8 = v3 + 12; *v8 = 0; v8[1] = 0; } else { memset(v2 + 21, 0, 0x10u); return (char *)j_memset(v3 + 17, 0, 0x10u); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source