//
// internal::band_matrix::operator from 0x594a1c to 0x594a40 (36 bytes)
//
// 3 xrefs:
// > internal::band_matrix::l_solve @ 0x594d34
// > internal::band_matrix::r_solve @ 0x594e3e
// > internal::band_matrix::r_solve @ 0x594e78
//
// 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
//
__int64 __fastcall internal::band_matrix::operator()(int *a1, int a2, int a3)
{
bool v3; // nf
int v4; // r2
int v5; // r1
int v6; // r0
v4 = a3 - a2;
v3 = v4 < 0;
if ( v4 < 0 )
v4 = -v4;
v5 = 8 * a2;
if ( v3 )
v6 = a1[3];
else
v6 = *a1;
return *(_QWORD *)(v5 + *(_DWORD *)(v6 + 12 * v4));
}