//
// TIFFTileRowSize from 0x6f29d0 to 0x6f2a60 (144 bytes)
//
// 8 xrefs:
// > sub_6C3E90 @ 0x6c3f1c
// > sub_6CAEE0 @ 0x6cb13c
// > sub_6CB3B0 @ 0x6cb8e4
// > sub_6D7CE0 @ 0x6d7d00
// > sub_6D8E38 @ 0x6d8e58
// > sub_6E0BE4 @ 0x6e0c50
// > sub_6E7B90 @ 0x6e7d38
// > ??> @ 0x583cc
//
// 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 TIFFTileRowSize(int a1)
{
__int64 v1; // kr00_8
int v4; // [sp+14h] [bp-8h]
v1 = TIFFTileRowSize64(a1);
v4 = v1;
if ( HIDWORD(v1) != (int)v1 >> 31 )
{
TIFFErrorExt(*(_DWORD *)(a1 + 628), (int)"TIFFTileRowSize", "Integer overflow");
return 0;
}
return v4;
}