//
// MultilineBitmapFont::moveSpecialDescriptors from 0x6aa580 to 0x6aa62c (172 bytes)
//
// 8 xrefs:
// > MultilineBitmapFont::readColorInfo @ 0x6ab1d8
// > MultilineBitmapFont::readColorInfo @ 0x6ab358
// > MultilineBitmapFont::readColorInfo @ 0x6ab3fc
// > MultilineBitmapFont::readColorInfo @ 0x6ab4e8
// > MultilineBitmapFont::readColorInfo @ 0x6ab690
// > MultilineBitmapFont::readColorInfo @ 0x6ab734
// > MultilineBitmapFont::readColorInfo @ 0x6ab974
// > ??> @ 0xc1090
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:50:47 +0000
//
__int64 __fastcall MultilineBitmapFont::moveSpecialDescriptors(cocos2d::CCArray **this, int a2, int a3)
{
unsigned int v4; // w19
__int64 result; // x0
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
int v16; // w1
v4 = 0;
result = cocos2d::CCArray::count(*(this + 79));
v8 = 0;
if ( (_DWORD)result )
{
do
{
v9 = cocos2d::CCArray::objectAtIndex(*(this + 79), v8);
v10 = *(_DWORD *)(v9 + 60);
v11 = v10 <= a2;
v12 = v10 - a3;
if ( v11 )
{
v16 = *(_DWORD *)(v9 + 64);
if ( v16 != -1 && a2 < v16 )
*(_DWORD *)(v9 + 64) = v16 - a3;
}
else
{
v13 = *(_DWORD *)(v9 + 64);
*(_DWORD *)(v9 + 60) = v12;
v14 = v13 == -1;
v15 = v13 - a3;
if ( !v14 )
*(_DWORD *)(v9 + 64) = v15;
}
++v4;
result = cocos2d::CCArray::count(*(this + 79));
v8 = v4;
}
while ( v4 < (unsigned int)result );
}
return result;
}