//
// png_check_fp_string from 0x64e42c to 0x64e456 (42 bytes)
//
// 3 xrefs:
// > png_set_pCAL @ 0x65fbde
// > png_set_sCAL_s @ 0x65fd54
// > png_set_sCAL_s @ 0x65fd7a
//
// 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
//
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;
}