//
// sub_C744EC from 0xc744ec to 0xc74588 (156 bytes)
//
// 1 xrefs:
// > sub_C76D40 @ 0xc76ebc
//
// 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_C744EC(_BYTE *result)
{
int v1; // w2
int v2; // w1
int v3; // w5
int v4; // w3
int v5; // w8
int v6; // w7
int v7; // w6
char v8; // w4
v1 = (unsigned __int8)*(result - 31);
v2 = (unsigned __int8)*(result - 30);
v3 = (unsigned __int8)*(result - 32);
v4 = (unsigned __int8)*(result - 29);
v5 = v3 + 2 * v1;
v6 = v1 + 2 * v2;
v7 = v2 + 2 * v4;
LOBYTE(v1) = (unsigned __int64)((unsigned int)(unsigned __int8)*(result - 33) + 2 * v3 + v1 + 2) >> 2;
LOBYTE(v2) = (unsigned __int64)(unsigned int)(v5 + v2 + 2) >> 2;
LOBYTE(v4) = (unsigned __int64)(unsigned int)(v6 + v4 + 2) >> 2;
v8 = (unsigned __int64)(v7 + (unsigned int)(unsigned __int8)*(result - 28) + 2) >> 2;
*result = v1;
result[1] = v2;
result[2] = v4;
result[3] = v8;
result[32] = v1;
result[33] = v2;
result[34] = v4;
result[35] = v8;
result[64] = v1;
result[65] = v2;
result[66] = v4;
result[67] = v8;
result[96] = v1;
result[97] = v2;
result[98] = v4;
result[99] = v8;
return result;
}