//
// png_set_sCAL_fixed from 0x86ff34 to 0x86ff8e (90 bytes)
//
// 0 xrefs:
//
// 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:02:57 +0000
//
void *__fastcall png_set_sCAL_fixed(void *a1, int a2, int a3, int a4, int a5)
{
char v9[20]; // [sp+8h] [bp-28h] BYREF
char v10[20]; // [sp+1Ch] [bp-14h] BYREF
if ( a4 <= 0 )
return (void *)png_warning((int)a1, "Invalid sCAL width ignored");
if ( a5 <= 0 )
return (void *)png_warning((int)a1, "Invalid sCAL height ignored");
png_ascii_from_fixed((unsigned int)a1, v9, 0x12u, a4);
png_ascii_from_fixed((unsigned int)a1, v10, 0x12u, a5);
return png_set_sCAL_s(a1, a2, a3, v9, v10);
}