//
// sub_C748B0 from 0xc748b0 to 0xc749a4 (244 bytes)
//
// 1 xrefs:
// > sub_C76D40 @ 0xc76ef8
//
// 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_C748B0(_BYTE *result)
{
int v1; // w4
int v2; // w2
int v3; // w1
int v4; // w11
int v5; // w3
int v6; // w5
int v7; // w15
int v8; // w6
int v9; // w14
int v10; // w13
int v11; // w12
char v12; // w10
char v13; // w9
char v14; // w8
int v15; // w7
v1 = (unsigned __int8)*(result - 30);
v2 = (unsigned __int8)*(result - 29);
v3 = (unsigned __int8)*(result - 28);
v4 = (unsigned __int8)*(result - 31);
v5 = (unsigned __int8)*(result - 27);
v6 = (unsigned __int8)*(result - 26);
v7 = v1 + v2 + v2;
v8 = (unsigned __int8)*(result - 32) + v4;
v9 = v2 + v3 + v3;
v10 = v3 + 2 * v5;
v11 = v5 + 2 * v6;
v12 = (unsigned __int64)(unsigned int)(v4 + v1 + 1) >> 1;
v13 = (unsigned __int64)(unsigned int)(v1 + v2 + 1) >> 1;
v14 = (unsigned __int64)(unsigned int)(v2 + v3 + 1) >> 1;
LOBYTE(v2) = (unsigned __int64)(unsigned int)(v4 + v1 + v1 + v2 + 2) >> 2;
LOBYTE(v3) = (unsigned __int64)(unsigned int)(v7 + v3 + 2) >> 2;
LOBYTE(v5) = (unsigned __int64)(unsigned int)(v9 + v5 + 2) >> 2;
v15 = (v11 + (unsigned __int8)*(result - 25) + 2) >> 2;
*result = (v8 + 1) >> 1;
result[64] = v12;
result[1] = v12;
result[65] = v13;
result[2] = v13;
result[66] = v14;
result[3] = v14;
result[32] = (v8 + v4 + v1 + 2) >> 2;
result[96] = v2;
result[33] = v2;
result[97] = v3;
result[34] = v3;
result[98] = v5;
result[35] = v5;
result[67] = (v10 + v6 + 2) >> 2;
result[99] = v15;
return result;
}