//
// TIFFWriteTile from 0x6f3e8c to 0x6f3f1c (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x5897c
//
// 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 TIFFWriteTile(int a1, int a2, unsigned int a3, unsigned int a4, unsigned int a5, unsigned __int16 a6)
{
int v7; // r0
if ( !TIFFCheckTile(a1, a3, a4, a5, a6) )
return -1;
v7 = TIFFComputeTile(a1, a3, a4, a5, a6);
return TIFFWriteEncodedTile(a1, v7, a2, -1);
}