//
// TIFFWriteTile from 0xc63d58 to 0xc63df0 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x2cb80
//
// 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 TIFFWriteTile(
__int64 a1,
__int64 a2,
unsigned int a3,
unsigned int a4,
unsigned int a5,
unsigned __int16 a6)
{
unsigned int v12; // w0
if ( !(unsigned int)TIFFCheckTile(a1, a3, a4, a5, a6) )
return -1;
v12 = TIFFComputeTile(a1, a3, a4, a5, a6);
return TIFFWriteEncodedTile(a1, v12, a2, -1);
}