//
// png_safe_warning from 0x6512f0 to 0x651310 (32 bytes)
//
// 0 xrefs:
//
// 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
//
unsigned int __fastcall png_safe_warning(unsigned int result, char *a2)
{
int v2; // r4
v2 = *(_DWORD *)(result + 276);
if ( !*(_DWORD *)(v2 + 28) )
{
result = png_safecat(v2 + 32, 0x40u, 0, a2);
*(_DWORD *)(v2 + 28) |= 1u;
}
return result;
}