// // sub_6EA54 from 0x6ea54 to 0x6eb04 (176 bytes) // // 0 xrefs: // // 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 // int __fastcall sub_6EA54(_DWORD *a1, const void *a2, float *a3, int a4, float a5, float a6, int a7) { int result; // r0 int v11; // r0 int v12; // r1 int v13; // r0 int v15; // r2 float v16; // s6 int v17; // r2 int v18; // r2 if ( a7 > a4 ) return 28; qmemcpy((void *)(a1[9] + 4 * a1[13]), a2, 4 * a4); v11 = a1[2]; v12 = a1[13] + a4; a1[13] = v12; if ( v12 != v11 || (result = (*(int (__fastcall **)(_DWORD *))(*a1 + 12))(a1), a1[13] = 0, !result) ) { v13 = 0; while ( v13 < a7 ) { v15 = a1[15] + v13++; v16 = *a3 + (float)(*(float *)(a1[10] + 4 * v15) * a5); a5 = a5 + a6; *a3++ = v16; } while ( v13 < a4 ) { v17 = a1[15] + v13++; *a3 = *a3 + (float)(*(float *)(a1[10] + 4 * v17) * a5); ++a3; } v18 = a1[15] + a4; result = 0; if ( v18 >= (a1[5] + 1) * a1[2] ) v18 = 0; a1[15] = v18; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source