// // sub_C86580 from 0xc86580 to 0xc865f8 (120 bytes) // // 1 xrefs: // > sub_C89A88 @ 0xc89adc // // 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_C86580(__int64 result, int a2, int a3, int a4, char a5, char a6, __int64 a7) { bool v7; // cc int v8; // w3 __int64 v9; // x1 __int64 v10; // x10 int v11; // w9 unsigned int v12; // w7 v7 = a4 <= 0; v8 = a4 - 1; if ( !v7 ) { v9 = 4LL * a2; do { if ( a3 > 0 ) { v10 = 0; do { v11 = *(_DWORD *)(result + 4 * v10++); v12 = (unsigned __int8)(v11 - (((unsigned int)((__int64)(__int16)v11 >> 8) * a5) >> 5) - ((unsigned int)((v11 << 8 >> 24) * a6) >> 5)); ++*(_DWORD *)(a7 + 4LL * v12); } while ( a3 > (int)v10 ); } --v8; result += v9; } while ( v8 != -1 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source