// // sub_88C930 from 0x88c930 to 0x88ca0c (220 bytes) // // 3 xrefs: // > sub_88CA0C @ 0x88ca40 // > sub_88CF50 @ 0x88d1be // > jpeg_resync_to_restart @ 0x88e968 // // 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:18 +0000 // int __fastcall sub_88C930(_DWORD *a1) { unsigned __int8 **v2; // r6 unsigned __int8 *v3; // r3 int v4; // r5 unsigned __int8 *v5; // r4 int v6; // r3 int v7; // r3 int v9; // [sp+4h] [bp-8h] v2 = (unsigned __int8 **)a1[6]; v3 = *v2; v4 = (int)v2[1]; if ( !v4 ) goto LABEL_12; while ( 1 ) { --v4; v5 = v3 + 1; if ( *v3 != 255 ) { while ( 1 ) { while ( 1 ) { ++*(_DWORD *)(a1[116] + 24); *v2 = v5; v2[1] = (unsigned __int8 *)v4; if ( !v4 ) break; v6 = *v5; --v4; ++v5; if ( v6 == 255 ) goto LABEL_8; } if ( !((int (__fastcall *)(_DWORD *))v2[3])(a1) ) return 0; v4 = (int)(v2[1] - 1); v5 = *v2 + 1; if ( **v2 == 255 ) goto LABEL_8; } } do { LABEL_8: if ( !v4 ) { if ( !((int (__fastcall *)(_DWORD *))v2[3])(a1) ) return 0; v5 = *v2; v4 = (int)v2[1]; } v7 = *v5; --v4; ++v5; } while ( v7 == 255 ); if ( v7 ) break; v3 = v5; *(_DWORD *)(a1[116] + 24) += 2; *v2 = v5; v2[1] = (unsigned __int8 *)v4; if ( !v4 ) { LABEL_12: if ( !((int (__fastcall *)(_DWORD *))v2[3])(a1) ) return 0; v3 = *v2; v4 = (int)v2[1]; } } if ( *(_DWORD *)(a1[116] + 24) ) { v9 = v7; *(_DWORD *)(*a1 + 20) = 119; *(_DWORD *)(*a1 + 24) = *(_DWORD *)(a1[116] + 24); *(_DWORD *)(*a1 + 28) = v7; (*(void (__fastcall **)(_DWORD *, int))(*a1 + 4))(a1, -1); v7 = v9; *(_DWORD *)(a1[116] + 24) = 0; } a1[110] = v7; *v2 = v5; v2[1] = (unsigned __int8 *)v4; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source