//
// TIFFSwabArrayOfTriples from 0x6f129c to 0x6f1320 (132 bytes)
//
// 2 xrefs:
// > _TIFFSwab24BitData @ 0x6efe98
// > ??> @ 0x587fc
//
// 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, int a2)
{
_BYTE *i; // r3
char v5; // [sp+Fh] [bp-5h]
for ( i = result; a2-- > 0; i += 3 )
{
v5 = i[2];
i[2] = *i;
*i = v5;
}
return result;
}