// // jpeg_finish_output from 0x884ac0 to 0x884b2e (110 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_finish_output(_DWORD *a1) { int v2; // r3 _DWORD *i; // r0 int v4; // r3 int v5; // r5 v2 = a1[5]; if ( (unsigned int)(v2 - 205) <= 1 ) { if ( a1[16] ) { (*(void (**)(void))(a1[111] + 4))(); a1[5] = 208; goto LABEL_6; } } else if ( v2 == 208 ) { goto LABEL_6; } *(_DWORD *)(*a1 + 20) = 21; *(_DWORD *)(*a1 + 24) = a1[5]; (*(void (__fastcall **)(_DWORD *))*a1)(a1); for ( i = a1; a1[36] <= a1[38]; i = a1 ) { v4 = a1[115]; v5 = *(_DWORD *)(v4 + 20); if ( v5 ) break; if ( !(*(int (__fastcall **)(_DWORD *))v4)(i) ) return v5; LABEL_6: ; } v5 = 1; a1[5] = 207; return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source