//
// TIFFRawStripSize64 from 0xc60134 to 0xc6017c (72 bytes)
//
// 2 xrefs:
// > TIFFRawStripSize @ 0xc60184
// > ??> @ 0x83898
//
// 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
//
__int64 __fastcall TIFFRawStripSize64(__int64 a1, unsigned int a2)
{
__int64 v2; // x4
__int64 v3; // x1
v2 = a2;
v3 = *(_QWORD *)(*(_QWORD *)(a1 + 240) + 8LL * a2);
if ( !v3 )
{
TIFFErrorExt(
*(_QWORD *)(a1 + 952),
(__int64)"TIFFRawStripSize64",
"%llu: Invalid strip byte count, strip %lu",
0,
v2);
return -1;
}
return v3;
}