//
// png_check_fp_string from 0x85e4ac to 0x85e4d6 (42 bytes)
//
// 3 xrefs:
// > png_set_pCAL @ 0x86fc5e
// > png_set_sCAL_s @ 0x86fdd4
// > png_set_sCAL_s @ 0x86fdfa
//
// 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:41 +0000
//
int __fastcall png_check_fp_string(int a1, unsigned int a2)
{
int result; // r0
int v5; // [sp+0h] [bp-8h] BYREF
unsigned int v6; // [sp+4h] [bp-4h] BYREF
v5 = 0;
v6 = 0;
result = png_check_fp_number(a1, a2, &v5, &v6);
if ( result )
{
if ( v6 == a2 )
return v5;
result = 0;
if ( !*(_BYTE *)(a1 + v6) )
return v5;
}
return result;
}