//
// TIFFSwabArrayOfTriples from 0xc6089c to 0xc608c8 (44 bytes)
//
// 2 xrefs:
// > _TIFFSwab24BitData @ 0xc60020
// > ??> @ 0x66960
//
// 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
//
_BYTE *__fastcall TIFFSwabArrayOfTriples(_BYTE *result, __int64 a2)
{
_BYTE *v2; // x1
char v3; // w2
if ( a2 > 0 )
{
v2 = &result[3 * a2];
do
{
v3 = result[2];
result[2] = *result;
*result = v3;
result += 3;
}
while ( result != v2 );
}
return result;
}