//
// png_read_filter_row_up_neon from 0xbf1480 to 0xbf14ac (44 bytes)
//
// 3 xrefs:
// > ??> @ 0x5b7a0
// > png_init_filter_functions_neon @ 0xbf1418
// > ??> @ 0x122af28
//
// 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
//
int8x16_t __fastcall png_read_filter_row_up_neon(__int64 a1, int8x16_t *a2, int8x16_t *a3)
{
char *i; // x0
int8x16_t v4; // t1
int8x16_t result; // q0
for ( i = (char *)a2 + *(_QWORD *)(a1 + 8); i > (char *)a2; ++a2 )
{
v4 = *a3++;
result = vaddq_s8(*a2, v4);
*a2 = result;
}
return result;
}