// // sub_100252D5C from 0x100252d5c to 0x100252ea4 (328 bytes) // // 1 xrefs: // > sub_1002522B8 @ 0x10025232c // // 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 // void __usercall sub_100252D5C(_QWORD *a1@, _QWORD *a2@, _QWORD *a3@) { __int64 v6; // x8 unsigned __int64 v7; // x1 __int64 i; // x22 __int64 v9; // x8 double v10; // d8 int v11; // w8 __int64 v12; // x23 double v13; // d9 if ( a1[1] == *a1 ) { if ( ((a2[1] - *a2) & 0x7FFFFFFF8LL) == 0 ) { v7 = 0; goto LABEL_6; } LABEL_16: sub_10062F350(); } v6 = *(_QWORD *)(*a1 + 8LL) - *(_QWORD *)*a1; if ( (unsigned int)((unsigned __int64)v6 >> 3) != (unsigned int)((a2[1] - *a2) >> 3) ) goto LABEL_16; v7 = (int)(v6 >> 3); LABEL_6: sub_1002144BC(a3, v7); for ( i = 0; ; ++i ) { v9 = a1[1] == *a1 ? 0LL : (int)((__int64)(*(_QWORD *)(*a1 + 8LL) - *(_QWORD *)*a1) >> 3); if ( i >= v9 ) break; v10 = 0.0; v11 = (int)fmax((double)(int)(i + 1 + 1431655765 * ((a1[4] - a1[3]) >> 3)), 0.0); if ( i > v11 ) { v12 = v11; do { v10 = v10 + sub_100252914((__int64)a1, i, v12) * *(double *)(*a3 + 8 * v12); ++v12; } while ( i != (unsigned int)v12 ); } v13 = *(double *)(*a2 + 8 * i); *(double *)(*a3 + 8 * i) = -(v10 - v13 * sub_1002529B0((__int64)a1, i)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source