//
// TIFFVStripSize from 0x6f0578 to 0x6f0610 (152 bytes)
//
// 2 xrefs:
// > TIFFReadEncodedStrip @ 0x6edf50
// > ??> @ 0x5878c
//
// 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 TIFFVStripSize(int a1, unsigned int a2)
{
unsigned __int64 v2; // kr00_8
int v5; // [sp+14h] [bp-8h]
v2 = TIFFVStripSize64(a1, a2);
v5 = v2;
if ( HIDWORD(v2) != (int)v2 >> 31 )
{
TIFFErrorExt(*(_DWORD *)(a1 + 628), (int)"TIFFVStripSize", "Integer overflow");
return 0;
}
return v5;
}