//
// sub_C74588 from 0xc74588 to 0xc74610 (136 bytes)
//
// 1 xrefs:
// > sub_C76D40 @ 0xc76ec8
//
// 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
//
__int64 __fastcall sub_C74588(__int64 result)
{
int v1; // w3
int v2; // w2
int v3; // w1
int v4; // w5
v1 = *(unsigned __int8 *)(result + 31);
v2 = *(unsigned __int8 *)(result + 63);
v3 = *(unsigned __int8 *)(result + 95);
v4 = *(unsigned __int8 *)(result - 1);
*(_DWORD *)result = 16843009 * ((*(unsigned __int8 *)(result - 33) + 2 * v4 + v1 + 2) >> 2);
*(_DWORD *)(result + 32) = 16843009 * ((v4 + 2 * v1 + v2 + 2) >> 2);
*(_DWORD *)(result + 64) = 16843009 * ((v1 + 2 * v2 + v3 + 2) >> 2);
*(_DWORD *)(result + 96) = 16843009 * ((v2 + 2 * v3 + v3 + 2) >> 2);
return result;
}