// // sub_C685E8 from 0xc685e8 to 0xc68714 (300 bytes) // // 1 xrefs: // > sub_C68714 @ 0xc68bcc // // 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_C685E8(unsigned int *a1, int **a2) { __int64 v2; // x6 int *v3; // x4 unsigned int v4; // w23 int v5; // w20 unsigned int v6; // w19 unsigned int v7; // w3 _BOOL4 v8; // w21 __int64 v9; // x1 unsigned int v10; // w22 unsigned int v11; // w2 unsigned int v12; // w5 unsigned int v13; // w19 __int64 v14; // x5 __int64 v15; // x19 __int64 v16; // x4 __int64 v17; // x19 v2 = *((_QWORD *)a1 + 19); if ( v2 ) { v3 = *a2; v4 = a1[3]; v5 = **a2; v6 = a1[2]; v7 = a1[4]; v8 = v5 == 9 || v5 == 4; if ( a1[22] ) { v9 = *a1; if ( v6 ) { v11 = v6 - 1; v10 = a1[4]; v2 -= (int)v9; } else { v10 = v7 - 1; v11 = 0; } v12 = a1[32]; v13 = v7 + v6 + v12; if ( v13 == a1[33] ) v10 = v13 - v12 - v11; } else { v9 = *a1; v10 = a1[4]; v11 = a1[2]; } v14 = (unsigned int)v3[6]; v15 = *((_QWORD *)v3 + 2); v16 = 3; if ( v8 ) v16 = 0; v17 = v15 + (int)(v14 * v11); if ( (unsigned int)off_1260200(v2, v9, v4, v10, v17 + v16, v14) && (unsigned int)(v5 - 7) <= 3 ) off_1260208(v17, v8, v4, v10); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source