//
// MultilineBitmapFont::moveSpecialDescriptors from 0x100235780 to 0x10023581c (156 bytes)
//
// 7 xrefs:
// > MultilineBitmapFont::readColorInfo @ 0x100234d18
// > MultilineBitmapFont::readColorInfo @ 0x100234f68
// > MultilineBitmapFont::readColorInfo @ 0x10023502c
// > MultilineBitmapFont::readColorInfo @ 0x1002350d4
// > MultilineBitmapFont::readColorInfo @ 0x100235194
// > MultilineBitmapFont::readColorInfo @ 0x100235248
// > MultilineBitmapFont::readColorInfo @ 0x1002352b4
//
// 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
//
void __fastcall MultilineBitmapFont::moveSpecialDescriptors(MultilineBitmapFont *a1, int a2, int a3)
{
__int64 v6; // x22
__int64 v7; // x0
int v8; // w8
int v9; // w9
_DWORD *v10; // x0
int v11; // w8
int v12; // t1
int v13; // t1
if ( (unsigned int)sub_10024A36C(a1->m_specialDescriptors) )
{
v6 = 0;
while ( 1 )
{
v7 = sub_10024A388(a1->m_specialDescriptors, v6);
v8 = *(_DWORD *)(v7 + 60);
if ( v8 <= a2 )
break;
v9 = v8 - a3;
v12 = *(_DWORD *)(v7 + 64);
v10 = (_DWORD *)(v7 + 64);
v11 = v12;
*(v10 - 1) = v9;
if ( v12 != -1 )
goto LABEL_5;
LABEL_6:
v6 = (unsigned int)(v6 + 1);
if ( (unsigned int)v6 >= (unsigned int)sub_10024A36C(a1->m_specialDescriptors) )
return;
}
v13 = *(_DWORD *)(v7 + 64);
v10 = (_DWORD *)(v7 + 64);
v11 = v13;
if ( v13 == -1 || v11 <= a2 )
goto LABEL_6;
LABEL_5:
*v10 = v11 - a3;
goto LABEL_6;
}
}