//
// TIFFSwabArrayOfShort from 0x6f122c to 0x6f129c (112 bytes)
//
// 9 xrefs:
// > sub_6ABE98 @ 0x6abf90
// > sub_6AC4F8 @ 0x6ac69c
// > sub_6BC84C @ 0x6bc8bc
// > sub_6BC914 @ 0x6bc988
// > _TIFFRewriteField @ 0x6bf258
// > sub_6E41CC @ 0x6e44d4
// > sub_6E8724 @ 0x6e87cc
// > _TIFFSwab16BitData @ 0x6efdf0
// > ??> @ 0x5813c
//
// 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 TIFFSwabArrayOfShort(_BYTE *result, int a2)
{
_BYTE *i; // r3
char v3; // r5
for ( i = result; a2-- > 0; i += 2 )
{
v3 = i[1];
i[1] = *i;
*i = v3;
}
return result;
}