// // jinit_arith_decoder from 0x6756ac to 0x675726 (122 bytes) // // 2 xrefs: // > jinit_master_decompress @ 0x67f92c // > jpeg_read_coefficients @ 0x680ac8 // // 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 // char *__fastcall jinit_arith_decoder(int a1) { int v2; // r4 char *result; // r0 int v4; // r2 void *v5; // r3 int v6; // r4 v2 = (**(int (***)(void))(a1 + 4))(); *(_DWORD *)(a1 + 468) = v2; *(_DWORD *)(v2 + 8) = nullsub_22; *(_DWORD *)v2 = sub_674AB4; memset((void *)(v2 + 60), 0, 0x40u); result = (char *)memset((void *)(v2 + 124), 0, 0x40u); *(_BYTE *)(v2 + 188) = 113; if ( *(_DWORD *)(a1 + 224) ) { result = (char *)(**(int (__fastcall ***)(int, int, _DWORD))(a1 + 4))(a1, 1, *(_DWORD *)(a1 + 36) << 8); v4 = *(_DWORD *)(a1 + 36); v5 = result; *(_DWORD *)(a1 + 160) = result; if ( v4 > 0 ) { v6 = 0; do { ++v6; result = (char *)memset(v5, 255, 0x100u); v5 = result + 256; } while ( *(_DWORD *)(a1 + 36) > v6 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source