//
// sub_8FA600 from 0x8fa600 to 0x8fa6f0 (240 bytes)
//
// 3 xrefs:
// > TIFFPredictorInit @ 0x8fa8fc
// > TIFFPredictorInit @ 0x8fa900
// > ??> @ 0x8fa9d4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:04:15 +0000
//
int __fastcall sub_8FA600(int a1, int a2, _WORD **a3)
{
_DWORD *v8; // [sp+14h] [bp-8h]
v8 = *(_DWORD **)(a1 + 576);
if ( !v8 )
_assert2();
if ( !v8[11] )
_assert2();
if ( a2 != 317 )
return ((int (__fastcall *)(int, int, _WORD **))v8[11])(a1, a2, a3);
**a3 = *v8;
return 1;
}