// // sub_80C48 from 0x80c48 to 0x80d24 (220 bytes) // // 3 xrefs: // > sub_103A14 @ 0x103a24 // > sub_82024 @ 0x821b4 // > sub_82024 @ 0x821bc // // 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 // float *__fastcall sub_80C48(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6, __int64 a7) { __int64 v7; // x30 float *result; // x0 float *v9; // x1 int v10; // w2 float *v11; // x5 float v12; // s0 float v13; // s1 float v14; // s2 float v15; // s3 float v16; // s4 float v17; // s5 float v18; // s6 float v19; // s7 float v20; // s16 float v21; // s17 char v22; // zf float v23; // s19 float v24; // s24 float v25; // s18 float v26; // s20 float v27; // s21 float v28; // s22 float i; // s23 float v30; // t1 float v31; // s26 float v32; // s26 float v33; // s27 float v34; // s24 __int64 v35; // x1 __int64 v36; // x2 __int64 v37; // x3 __int64 j; // x30 __int64 v39; // x0 float *v40; // x1 __int64 v41; // x8 __int64 v42; // x10 float v43; // s27 float v44; // s25 float v45; // s29 float v46; // s30 float v47; // s26 float v48; // s28 float *v49; // x11 float *v50; // x1 __int64 v51; // x3 result = (float *)sub_827D0(a1, a2, a3, a4, a5, a6, a7, v7); if ( v22 ) { v23 = *v11; v24 = v11[1]; v25 = 0.0; v26 = 0.0; v27 = 0.0; v28 = 0.0; for ( i = 0.0; v10; --v10 ) { v30 = *result++; v31 = i + v12; i = i + v17; v32 = v23 + (float)(v30 * v31); v23 = (float)(v24 + (float)(v30 * (float)(v28 + v13))) - (float)(v32 * (float)(v26 + v15)); v33 = v25 + v14; v34 = v32 * (float)(v27 + v16); v28 = v28 + v18; v25 = v25 + v19; v26 = v26 + v20; v27 = v27 + v21; *v9++ = v32; v24 = -(float)(v34 - (float)(v30 * v33)); } *v11 = v23; v11[1] = v24; } else { result = (float *)sub_8280C(result); for ( j = v37; (_DWORD)v36; j = v51 ) { v39 = sub_8279C(result, v35, v36, j); while ( v42 < v41 ) { v39 = sub_8286C(v39); *v49 = v46 - (float)(v45 * v44); v49[1] = -(float)((float)(v45 * v43) - (float)(v48 * v47)); *v50 = v45; v40 = v50 + 1; } result = (float *)sub_8283C(v39, v40); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source