//
// sub_6EAA40 from 0x6eaa40 to 0x6eab30 (240 bytes)
//
// 3 xrefs:
// > TIFFPredictorInit @ 0x6ead3c
// > TIFFPredictorInit @ 0x6ead40
// > ??> @ 0x6eae14
//
// 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
//
int __fastcall sub_6EAA40(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;
}