//
// TIFFSwabArrayOfTriples from 0xed6a5c to 0xed6a88 (44 bytes)
//
// 2 xrefs:
// > _TIFFSwab24BitData @ 0xed61e0
// > ??> @ 0x8b498
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:11:43 +0000
//
_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;
}