//
// _TIFFDataSize from 0x8b8468 to 0x8b8508 (160 bytes)
//
// 3 xrefs:
// > sub_8B34CC @ 0x8b47a4
// > TIFFPrintDirectory @ 0x8fcb60
// > ??> @ 0x6aedc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:03:56 +0000
//
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;
}