//
// internal::band_matrix::resize from 0x5954e0 to 0x59554a (106 bytes)
//
// 1 xrefs:
// > internal::band_matrix::band_matrix @ 0x595562
//
// 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
//
int __fastcall internal::band_matrix::resize(void ***this, unsigned int a2, int a3, int a4)
{
unsigned int i; // r6
unsigned int j; // r6
int result; // r0
std::vector>::resize(this, a3 + 1);
std::vector>::resize(this + 3, a4 + 1);
for ( i = 0; i < -1431655765 * (*(this + 1) - *this); ++i )
std::vector::resize((const void **)&(*this)[3 * i], a2);
for ( j = 0; ; ++j )
{
result = (int)*(this + 3);
if ( j >= -1431655765 * (((int)*(this + 4) - result) >> 2) )
break;
std::vector::resize((const void **)(result + 12 * j), a2);
}
return result;
}