//
// internal::band_matrix::operator from 0x6daf54 to 0x6daf78 (36 bytes)
//
// 3 xrefs:
// > internal::band_matrix::l_solve @ 0x6db236
// > internal::band_matrix::r_solve @ 0x6db320
// > internal::band_matrix::r_solve @ 0x6db35a
//
// 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
//
__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));
}