//
// internal::band_matrix::l_solve from 0x6db1c8 to 0x6db290 (200 bytes)
//
// 1 xrefs:
// > internal::band_matrix::lu_solve @ 0x6db3ca
//
// 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:10 +0000
//
_DWORD *__fastcall internal::band_matrix::l_solve(_DWORD *a1, internal::band_matrix *this, _DWORD *a3)
{
unsigned int v6; // r0
int v7; // r4
double v8; // d8
double v9; // r0
int v10; // r9
int v11; // r10
double v12; // r0
double *v13; // r3
double *v14; // r9
double v15; // d9
double v16; // r0
v6 = internal::band_matrix::dim(this);
v7 = 0;
std::vector::vector(a1, v6);
while ( v7 < internal::band_matrix::dim(this) )
{
v8 = 0.0;
LODWORD(v9) = fmax();
v10 = (int)v9;
v11 = 8 * (int)v9;
while ( v10 < v7 )
{
v12 = COERCE_DOUBLE(internal::band_matrix::operator()((int *)this, v7, v10++));
v13 = (double *)(*a1 + v11);
v11 += 8;
v8 = v8 + v12 * *v13;
}
v14 = (double *)(*a1 + 8 * v7);
v15 = *(double *)(8 * v7 + *a3);
v16 = COERCE_DOUBLE(internal::band_matrix::saved_diag(this, v7++));
*v14 = v15 * v16 - v8;
}
return a1;
}