// // internal::solve_linear from 0xa7fe20 to 0xa7fee4 (196 bytes) // // 2 xrefs: // > internal::solve_quadratic @ 0xa80084 // > @ 0x56b38 // // 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 // _QWORD *__usercall internal::solve_linear@(double a1@, double a2@, _QWORD *a3@) { *a3 = 0; a3[1] = 0; a3[2] = 0; if ( a2 == 0.0 ) { if ( a1 == 0.0 ) { std::vector::_M_default_append((__int64)a3, 1u); *(_QWORD *)*a3 = 0; return a3; } else { return a3; } } else { std::vector::_M_default_append((__int64)a3, 1u); *(double *)*a3 = -a1 / a2; return a3; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source