//
// TIFFRawStripSize64 from 0xed62f4 to 0xed633c (72 bytes)
//
// 2 xrefs:
// > TIFFRawStripSize @ 0xed6344
// > ??> @ 0xaed60
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:11:43 +0000
//
__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;
}