// // sub_C834F4 from 0xc834f4 to 0xc83590 (156 bytes) // // 1 xrefs: // > sub_C85C88 @ 0xc85d54 // // 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_C834F4(unsigned int a1, int *a2) { int v2; // w4 unsigned int v3; // w5 unsigned int v4; // w3 unsigned int v5; // w2 unsigned int v6; // w1 unsigned int v7; // w0 v2 = *a2; v3 = *(a2 - 1); v4 = HIBYTE(*a2) + HIBYTE(a1) - HIBYTE(v3); if ( v4 > 0xFF ) v4 = ~v4 >> 24; v5 = BYTE2(a1) + BYTE2(v2) - BYTE2(v3); if ( v5 > 0xFF ) v5 = ~v5 >> 24; v6 = BYTE1(a1) + BYTE1(v2) - BYTE1(v3); if ( v6 > 0xFF ) v6 = ~v6 >> 24; v7 = (unsigned __int8)v2 + (unsigned __int8)a1 - (unsigned __int8)v3; if ( v7 > 0xFF ) v7 = ~v7 >> 24; return (v4 << 24) | (v5 << 16) | (v6 << 8) | v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source