//
// TIFFVStripSize from 0x900138 to 0x9001d0 (152 bytes)
//
// 2 xrefs:
// > TIFFReadEncodedStrip @ 0x8fdb10
// > ??> @ 0x6b7fc
//
// 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:04:16 +0000
//
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;
}