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

GD Web Decomp

Raw Source