//
// sub_6BCA68 from 0x6bca68 to 0x6bcb24 (188 bytes)
//
// 2 xrefs:
// > sub_6BB660 @ 0x6bb6c4
// > sub_6BBBB0 @ 0x6bbd60
//
// 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_6BCA68(int a1, int a2, int a3, unsigned __int16 a4, unsigned int a5, int a6)
{
if ( a5 > 0x3FFFFFFF )
_assert2();
if ( (*(_DWORD *)(a1 + 12) & 0x80) != 0 )
TIFFSwabArrayOfLong(a6, a5);
return sub_6BD8C0(a1, a2, a3, a4, 4, a5, 4 * a5, a6);
}