//
// sub_C749A4 from 0xc749a4 to 0xc74a48 (164 bytes)
//
// 1 xrefs:
// > sub_C76D40 @ 0xc76f10
//
// 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 sub_C749A4(_BYTE *result)
{
int v1; // w1
int v2; // w7
int v3; // w2
int v4; // w6
int v5; // w4
int v6; // w3
int v7; // w5
int v8; // w1
int v9; // w7
v1 = (unsigned __int8)result[63];
v2 = (unsigned __int8)result[31];
v3 = (unsigned __int8)result[95];
v4 = v2 + v1;
v5 = (unsigned __int8)*(result - 1) + v2;
v6 = v2 + v1 + v1;
v7 = v1 + v3;
v8 = v5 + v2 + v1;
v9 = v7 + 2 * v3;
LOBYTE(v4) = (unsigned __int64)(unsigned int)(v4 + 1) >> 1;
LOBYTE(v7) = (unsigned __int64)(unsigned int)(v7 + 1) >> 1;
LOBYTE(v6) = (unsigned __int64)(unsigned int)(v6 + v3 + 2) >> 2;
LOBYTE(v9) = (unsigned __int64)(unsigned int)(v9 + 2) >> 2;
*result = (v5 + 1) >> 1;
result[32] = v4;
result[2] = v4;
result[64] = v7;
result[34] = v7;
result[1] = (v8 + 2) >> 2;
result[33] = v6;
result[3] = v6;
result[65] = v9;
result[35] = v9;
result[99] = v3;
result[98] = v3;
result[97] = v3;
result[96] = v3;
result[66] = v3;
result[67] = v3;
return result;
}