//
// png_fixed_error from 0x861234 to 0x861286 (82 bytes)
//
// 3 xrefs:
// > png_fixed @ 0x85eea6
// > png_set_alpha_mode @ 0x868d4c
// > png_set_gamma @ 0x86951e
//
// 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:43 +0000
//
void __fastcall __noreturn png_fixed_error(int a1, int a2)
{
int i; // r3
int v3; // r4
char *v4; // r5
char v5; // r2
int v6; // t1
char varDC[228]; // [sp+4h] [bp-DCh] BYREF
qmemcpy(varDC, "fixed point overflow in ", 24);
i = a2;
if ( a2 )
{
v3 = a2 - 1;
v4 = &varDC[23];
for ( i = 0; i != 195; ++i )
{
v6 = *(unsigned __int8 *)++v3;
v5 = v6;
if ( !v6 )
break;
*++v4 = v5;
}
}
varDC[i + 24] = 0;
png_error(a1, varDC);
}