//
// png_longjmp from 0x651084 to 0x65109a (22 bytes)
//
// 1 xrefs:
// > png_error @ 0x6510d0
//
// 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
//
void __fastcall __noreturn png_longjmp(int a1)
{
void (__fastcall *v1)(int); // r3
int v2; // r0
if ( a1 )
{
v1 = *(void (__fastcall **)(int))(a1 + 256);
if ( v1 )
{
v2 = *(_DWORD *)(a1 + 260);
if ( v2 )
v1(v2);
}
}
abort();
}