// // jpeg_default_colorspace from 0x671c24 to 0x671c6e (74 bytes) // // 1 xrefs: // > jpeg_set_defaults @ 0x671f00 // // 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 // int __fastcall jpeg_default_colorspace(_DWORD *a1) { int v1; // r1 int result; // r0 switch ( a1[10] ) { case 0: v1 = 0; goto LABEL_3; case 1: v1 = 1; goto LABEL_3; case 2: case 3: v1 = 3; goto LABEL_3; case 4: v1 = 4; goto LABEL_3; case 5: v1 = 5; goto LABEL_3; case 6: v1 = 6; goto LABEL_3; case 7: v1 = 7; LABEL_3: result = jpeg_set_colorspace((int)a1, v1); break; default: *(_DWORD *)(*a1 + 20) = 10; result = (*(int (__fastcall **)(_DWORD *))*a1)(a1); break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source