//
// sub_6BCD0C from 0x6bcd0c to 0x6bce08 (252 bytes)
//
// 1 xrefs:
// > sub_6BB7C8 @ 0x6bb82c
//
// 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_6BCD0C(int a1, int a2, int a3, unsigned __int16 a4, unsigned int a5, int a6)
{
if ( a5 > 0x1FFFFFFF )
_assert2();
if ( (*(_DWORD *)(a1 + 12) & 0x80000) == 0 )
_assert2();
if ( (*(_DWORD *)(a1 + 12) & 0x80) != 0 )
TIFFSwabArrayOfLong8(a6, a5);
return sub_6BD8C0(a1, a2, a3, a4, 17, a5, 8 * a5, a6);
}