// // sub_B10D8 from 0xb10d8 to 0xb1230 (344 bytes) // // 1 xrefs: // > sub_B13B4 @ 0xb14c4 // // 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_B10D8(__int64 a1, unsigned int a2) { long double v2; // q9 int v3; // w22 int v6; // w10 int v7; // w23 float v8; // s10 int v9; // w24 int v10; // w25 int v11; // w26 int v12; // w27 __int64 v13; // x28 __int64 v14; // x21 float v15; // s8 float v16; // s0 unsigned int v17; // w9 __int64 v18; // x10 float *v19; // x11 float *v20; // x10 float v21; // s2 float v22; // s4 float v23; // s1 float v24; // s3 int v26; // [xsp+Ch] [xbp-64h] v3 = 1; v6 = 0; v7 = (1 << a2) / 2; v8 = 1.0 / (float)(1 << a2); while ( v6 < (int)a2 ) { v9 = 0; v10 = 0; v11 = 2 * v7; v12 = v7; v26 = v6; while ( v10 < v3 ) { v13 = 8LL * v9; v14 = v9; *(float *)&v2 = (float)(int)sub_B1230(a1, (unsigned int)(v9 / v7), a2) * v8; LODWORD(v15) = COERCE_UNSIGNED_INT128(sub_B1254(a1, v2)); v16 = -sub_B12C0(a1, v2); v17 = v12; while ( v14 < v12 ) { v18 = *(_QWORD *)(a1 + 544); ++v14; v19 = (float *)(v18 + v13); v20 = (float *)(v18 + 8LL * v17); v21 = v20[1]; v22 = v19[1]; ++v17; v13 += 8; v23 = (float)(*v20 * v16) + (float)(v21 * v15); v24 = *v19 - (float)-(float)((float)(v21 * v16) - (float)(*v20 * v15)); *v19 = *v19 - (float)((float)(v21 * v16) - (float)(*v20 * v15)); v19[1] = v23 + v22; *v20 = v24; v20[1] = v22 - v23; } v9 += v11; v12 += v11; ++v10; } v7 = (unsigned int)v7 >> 1; v3 *= 2; v6 = v26 + 1; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source