//
// DES_set_odd_parity from 0xd85150 to 0xd851bc (108 bytes)
//
// 12 xrefs:
// > sub_BAD93C @ 0xbad9e8
// > sub_BAD93C @ 0xbada80
// > sub_BAD93C @ 0xbadb18
// > sub_BADB64 @ 0xbadc58
// > sub_BADB64 @ 0xbadcf0
// > sub_DA6060 @ 0xda6090
// > sub_DA7208 @ 0xda7240
// > sub_DA7208 @ 0xda727c
// > sub_DA7208 @ 0xda72a8
// > sub_E63018 @ 0xe630d8
// > sub_E63018 @ 0xe630fc
// > ??> @ 0xc17d0
//
// 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
//
unsigned __int8 *__fastcall DES_set_odd_parity(unsigned __int8 *result)
{
unsigned __int8 v1; // w7
unsigned __int8 v2; // w6
unsigned __int8 v3; // w5
unsigned __int8 v4; // w4
unsigned __int8 v5; // w3
unsigned __int8 v6; // w2
unsigned __int8 v7; // w1
v1 = byte_F694E0[result[1]];
v2 = byte_F694E0[result[2]];
v3 = byte_F694E0[result[3]];
v4 = byte_F694E0[result[4]];
v5 = byte_F694E0[result[5]];
v6 = byte_F694E0[result[6]];
v7 = byte_F694E0[result[7]];
*result = byte_F694E0[*result];
result[1] = v1;
result[2] = v2;
result[3] = v3;
result[4] = v4;
result[5] = v5;
result[6] = v6;
result[7] = v7;
return result;
}