//
// _TIFFDataSize from 0x6a88a4 to 0x6a8944 (160 bytes)
//
// 3 xrefs:
// > sub_6A344C @ 0x6a4724
// > TIFFPrintDirectory @ 0x6ecfa0
// > ??> @ 0x57ecc
//
// 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 TIFFDataSize(int a1)
{
int v1; // r3
switch ( a1 )
{
case 1:
case 2:
case 6:
case 7:
v1 = 1;
break;
case 3:
case 8:
v1 = 2;
break;
case 4:
case 5:
case 9:
case 10:
case 11:
case 13:
v1 = 4;
break;
case 12:
case 16:
case 17:
case 18:
v1 = 8;
break;
default:
v1 = 0;
break;
}
return v1;
}