//
// DES_set_odd_parity from 0x9f228c to 0x9f22fc (112 bytes)
//
// 12 xrefs:
// > sub_84CD30 @ 0x84cdaa
// > sub_84CD30 @ 0x84ce2e
// > sub_84CD30 @ 0x84ceb2
// > sub_84CED4 @ 0x84cf7e
// > sub_84CED4 @ 0x84d008
// > sub_A145D0 @ 0xa145f8
// > sub_A1548C @ 0xa154bc
// > sub_A1548C @ 0xa154ec
// > sub_A1548C @ 0xa15504
// > sub_ACDBE8 @ 0xacdca4
// > sub_ACDBE8 @ 0xacdcc8
// > ??> @ 0x6798c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:30 +0000
//
unsigned __int8 *__fastcall DES_set_odd_parity(unsigned __int8 *result)
{
unsigned __int8 v1; // r5
unsigned __int8 v2; // r4
unsigned __int8 v3; // lr
unsigned __int8 v4; // r12
unsigned __int8 v5; // r1
unsigned __int8 v6; // r2
unsigned __int8 v7; // r3
v1 = byte_C52EDC[result[1]];
v2 = byte_C52EDC[result[2]];
v3 = byte_C52EDC[result[3]];
v4 = byte_C52EDC[result[4]];
v5 = byte_C52EDC[result[5]];
v6 = byte_C52EDC[result[6]];
v7 = byte_C52EDC[result[7]];
*result = byte_C52EDC[*result];
result[1] = v1;
result[2] = v2;
result[3] = v3;
result[4] = v4;
result[5] = v5;
result[6] = v6;
result[7] = v7;
return result;
}