// // sub_7D38C from 0x7d38c to 0x7d414 (136 bytes) // // 3 xrefs: // > sub_7259C @ 0x72600 // > sub_7259C @ 0x725f4 // > @ 0x114690 // // 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_7D38C(__int64 result, __int64 a2, __int64 a3, int a4) { __int64 v4; // x8 float *v5; // x9 float *v6; // x10 float *v7; // x11 int v8; // w13 float v9; // s1 float v10; // s3 float v11; // s5 float v12; // s6 float v13; // s7 float v14; // s16 float v15; // s1 float v16; // s2 float v17; // s1 v4 = 0; v5 = (float *)(a2 + 4); v6 = (float *)(result + 4); v7 = (float *)(a3 + 4); v8 = 2 * (a4 / 2); while ( v4 < a4 / 2 ) { v9 = *(v7 - 1); v10 = *(v6 - 1); v11 = *(float *)(result + 4LL * v8); v12 = *(float *)(result + 4LL * (v8 + 1)); v13 = 1.0 - v9; v14 = -(float)((float)(*v6 * *v7) - (float)(v10 * (float)(1.0 - v9))); v15 = v9 + 1.0; v16 = (float)(v14 + (float)(v11 * v15)) - (float)(v12 * *v7); v17 = (float)((float)((float)(v10 * *v7) + (float)(*v6 * v13)) - (float)(v11 * *v7)) - (float)(v12 * v15); ++v4; v8 -= 2; v6 += 2; *(v5 - 1) = v16; *v5 = v17; v5 += 2; v7 += 2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source