//
// TIFFRawStripSize from 0x900288 to 0x900344 (188 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b89c
//
// 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 TIFFRawStripSize(int a1, int a2)
{
__int64 v4; // [sp+8h] [bp-14h]
int v5; // [sp+14h] [bp-8h]
v4 = TIFFRawStripSize64(a1, a2);
if ( v4 == -1 )
return -1;
v5 = v4;
if ( HIDWORD(v4) != (int)v4 >> 31 )
{
TIFFErrorExt(*(_DWORD *)(a1 + 628), (int)"TIFFRawStripSize", "Integer overflow");
return 0;
}
return v5;
}