//
// TIFFStripSize from 0x6f07f8 to 0x6f0888 (144 bytes)
//
// 6 xrefs:
// > TIFFReadDirectory @ 0x6b2794
// > sub_6CBBE8 @ 0x6cbc34
// > sub_6CBBE8 @ 0x6cbc90
// > sub_6CC084 @ 0x6cc0dc
// > TIFFWriteBufferSetup @ 0x6f4a94
// > ??> @ 0x581bc
//
// 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 TIFFStripSize(int a1)
{
unsigned __int64 v1; // kr00_8
int v4; // [sp+14h] [bp-8h]
v1 = TIFFStripSize64(a1);
v4 = v1;
if ( HIDWORD(v1) != (int)v1 >> 31 )
{
TIFFErrorExt(*(_DWORD *)(a1 + 628), (int)"TIFFStripSize", "Integer overflow");
return 0;
}
return v4;
}