//
// MultilineBitmapFont::moveSpecialDescriptors from 0x589878 to 0x589924 (172 bytes)
//
// 8 xrefs:
// > MultilineBitmapFont::readColorInfo @ 0x58a298
// > MultilineBitmapFont::readColorInfo @ 0x58a2f0
// > MultilineBitmapFont::readColorInfo @ 0x58a478
// > MultilineBitmapFont::readColorInfo @ 0x58a4d0
// > MultilineBitmapFont::readColorInfo @ 0x58a6c0
// > MultilineBitmapFont::readColorInfo @ 0x58a71c
// > MultilineBitmapFont::readColorInfo @ 0x58a934
// > ??> @ 0x92010
//
// 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 MultilineBitmapFont::moveSpecialDescriptors(MultilineBitmapFont *a1, int a2, int a3)
{
unsigned int v4; // w19
int v7; // w0
unsigned int v8; // w1
__int64 v9; // x0
int v10; // w1
bool v11; // cc
int v12; // w1
int v13; // w2
bool v14; // zf
int v15; // w2
unsigned int v16; // w0
int v17; // w1
v4 = 0;
v7 = cocos2d::CCArray::count(a1->m_specialDescriptors);
v8 = 0;
if ( v7 )
{
do
{
v9 = cocos2d::CCArray::objectAtIndex(a1->m_specialDescriptors, v8);
v10 = *(_DWORD *)(v9 + 60);
v11 = v10 <= a2;
v12 = v10 - a3;
if ( v11 )
{
v17 = *(_DWORD *)(v9 + 64);
if ( v17 != -1 && a2 < v17 )
*(_DWORD *)(v9 + 64) = v17 - a3;
}
else
{
v13 = *(_DWORD *)(v9 + 64);
*(_DWORD *)(v9 + 60) = v12;
v14 = v13 == -1;
v15 = v13 - a3;
if ( !v14 )
*(_DWORD *)(v9 + 64) = v15;
}
++v4;
v16 = cocos2d::CCArray::count(a1->m_specialDescriptors);
v8 = v4;
}
while ( v4 < v16 );
}
}