//
// png_set_check_for_invalid_index from 0xe5b370 to 0xe5b380 (16 bytes)
//
// 1 xrefs:
// > ??> @ 0x85a08
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:10:20 +0000
//
__int64 __fastcall png_set_check_for_invalid_index(__int64 result, int a2)
{
int v2; // w1
if ( a2 > 0 )
v2 = 0;
else
v2 = -1;
*(_DWORD *)(result + 676) = v2;
return result;
}