//
// TIFFRasterScanlineSize from 0x900bf4 to 0x900c84 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b8dc
//
// 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:17 +0000
//
int __fastcall TIFFRasterScanlineSize(int a1)
{
unsigned __int64 v1; // kr00_8
int v4; // [sp+14h] [bp-8h]
v1 = TIFFRasterScanlineSize64(a1);
v4 = v1;
if ( HIDWORD(v1) != (int)v1 >> 31 )
{
TIFFErrorExt(*(_DWORD *)(a1 + 628), (int)"TIFFRasterScanlineSize", "Integer arithmetic overflow");
return 0;
}
return v4;
}