// // jpeg_quality_scaling from 0xc01334 to 0xc0137c (72 bytes) // // 2 xrefs: // > jpeg_set_quality @ 0xc01394 // > @ 0x707b8 // // 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_quality_scaling(int a1) { bool v2; // cc __int64 result; // x0 if ( a1 <= 0 ) return 5000; v2 = a1 <= 100; result = 0; if ( v2 ) { if ( a1 > 49 ) return (unsigned int)(2 * (100 - a1)); else return (unsigned int)(5000 / a1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source