// // jpeg_save_markers from 0xe89084 to 0xe89188 (260 bytes) // // 1 xrefs: // > @ 0x7b718 // // 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:51 +0000 // __int64 __fastcall jpeg_save_markers(_QWORD *a1, int a2, unsigned int a3) { __int64 v4; // x5 __int64 result; // x0 int v6; // w0 void *v7; // x4 __int64 (__fastcall **v8)(_QWORD); // x2 __int64 v9; // x1 v4 = a1[77]; result = *(_QWORD *)(a1[1] + 96LL) - 32LL; if ( result < a3 ) a3 = result; if ( a3 ) { if ( a3 <= 0xD && a2 == 224 ) { a3 = 14; goto LABEL_7; } if ( a3 <= 0xB && a2 == 238 ) { a3 = 12; LABEL_7: v6 = a2 - 224; v7 = sub_E88510; if ( (unsigned int)(a2 - 224) > 0xF ) { LABEL_8: v8 = (__int64 (__fastcall **)(_QWORD))*a1; *((_DWORD *)v8 + 11) = a2; *((_DWORD *)v8 + 10) = 70; return (*(__int64 (__fastcall **)(_QWORD *))*a1)(a1); } goto LABEL_14; } v7 = sub_E88510; } else { if ( a2 == 238 || a2 == 224 ) { v7 = sub_E888F0; LABEL_13: v6 = a2 - 224; if ( (unsigned int)(a2 - 224) > 0xF ) goto LABEL_8; LABEL_14: v9 = v6 + 6LL; result = v4 + 4LL * v6; *(_QWORD *)(v4 + 8 * v9) = v7; *(_DWORD *)(result + 180) = a3; return result; } v7 = sub_E86218; } if ( a2 != 254 ) goto LABEL_13; *(_QWORD *)(v4 + 40) = v7; *(_DWORD *)(v4 + 176) = a3; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source