// // jpeg_default_colorspace from 0xc017d0 to 0xc0188c (188 bytes) // // 2 xrefs: // > jpeg_set_defaults @ 0xc01a5c // > @ 0x3f618 // // 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 // __int64 __fastcall jpeg_default_colorspace(_QWORD **a1) { __int64 (__fastcall *v1)(_QWORD **); // x2 __int64 result; // x0 int v3; // w1 switch ( *((_DWORD *)a1 + 15) ) { case 0: v3 = 0; goto LABEL_5; case 1: v3 = 1; goto LABEL_5; case 2: case 3: v3 = 3; goto LABEL_5; case 4: v3 = 4; goto LABEL_5; case 5: v3 = 5; goto LABEL_5; case 6: v3 = 6; goto LABEL_5; case 7: v3 = 7; LABEL_5: result = jpeg_set_colorspace((__int64 (__fastcall ***)(_QWORD))a1, v3); break; default: v1 = (__int64 (__fastcall *)(_QWORD **))**a1; *((_DWORD *)*a1 + 10) = 10; result = v1(a1); break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source