//
// internal::solve_linear from 0x6dbab2 to 0x6dbb18 (102 bytes)
//
// 1 xrefs:
// > internal::solve_quadratic @ 0x6dbb4a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:57:11 +0000
//
internal *__fastcall internal::solve_linear(internal *this, double a2, double a3)
{
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
if ( a3 == 0.0 )
{
if ( a2 == 0.0 )
{
std::vector::resize(this, 1u);
*(_QWORD *)*(_DWORD *)this = 0;
}
}
else
{
std::vector::resize(this, 1u);
*(double *)*(_DWORD *)this = -a2 / a3;
}
return this;
}