//
// sub_6BC7C4 from 0x6bc7c4 to 0x6bc84c (136 bytes)
//
// 2 xrefs:
// > sub_6BB354 @ 0x6bb3b0
// > sub_6BBB08 @ 0x6bbb78
//
// 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_6BC7C4(int a1, int a2, int a3, unsigned __int16 a4, __int16 a5)
{
__int16 v10; // [sp+26h] [bp-6h] BYREF
v10 = a5;
if ( (*(_DWORD *)(a1 + 12) & 0x80) != 0 )
TIFFSwabShort(&v10);
return sub_6BD8C0(a1, a2, a3, a4, 3, 1, 2, &v10);
}