//
// MultilineBitmapFont::moveSpecialDescriptors from 0x14006d0d0 to 0x14006d15b (139 bytes)
//
// 8 xrefs:
// > MultilineBitmapFont::readColorInfo @ 0x14006c8f0
// > MultilineBitmapFont::readColorInfo @ 0x14006c971
// > MultilineBitmapFont::readColorInfo @ 0x14006cbc6
// > MultilineBitmapFont::readColorInfo @ 0x14006cc47
// > MultilineBitmapFont::readColorInfo @ 0x14006cde9
// > MultilineBitmapFont::readColorInfo @ 0x14006ce6a
// > MultilineBitmapFont::readColorInfo @ 0x14006cfbc
// > ??> @ 0x1406c6084
//
// 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 v6; // ebx
struct cocos2d::CCObject *v7; // rax
int v8; // edx
int m_uID; // ecx
v6 = 0;
if ( cocos2d::CCArray::count(a1->m_specialDescriptors) )
{
while ( 1 )
{
v7 = cocos2d::CCArray::objectAtIndex(a1->m_specialDescriptors, v6);
v8 = HIDWORD(v7[1].__vftable);
m_uID = v7[1].m_uID;
if ( v8 <= a2 )
break;
HIDWORD(v7[1].__vftable) = v8 - a3;
if ( m_uID != -1 )
goto LABEL_7;
LABEL_8:
if ( ++v6 >= cocos2d::CCArray::count(a1->m_specialDescriptors) )
return;
}
if ( m_uID == -1 || m_uID <= a2 )
goto LABEL_8;
LABEL_7:
v7[1].m_uID = m_uID - a3;
goto LABEL_8;
}
}