//
// png_fixed_error from 0xbcd2f4 to 0xbcd360 (108 bytes)
//
// 4 xrefs:
// > png_fixed @ 0xbc82bc
// > png_set_alpha_mode @ 0xbd7c34
// > png_set_gamma @ 0xbd8630
// > ??> @ 0x58ed8
//
// 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
//
void __fastcall __noreturn png_fixed_error(__int64 a1, __int64 a2)
{
__int64 v2; // x2
char *v3; // x4
char v4; // w3
_QWORD v5[28]; // [xsp+18h] [xbp+18h] BYREF
v2 = 0;
qmemcpy(v5, "fixed point overflow in ", 24);
if ( a2 )
{
do
{
v4 = *(_BYTE *)(a2 + v2);
if ( !v4 )
break;
v3 = (char *)v5 + v2++;
v3[24] = v4;
}
while ( v2 != 195 );
}
*((_BYTE *)&v5[3] + v2) = 0;
png_error(a1, (const char *)v5);
}