//
// MultilineBitmapFont::moveSpecialDescriptors from 0x10047e550 to 0x10047e5e0 (144 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:30:39 +0000
//
__int64 __fastcall MultilineBitmapFont::moveSpecialDescriptors(__int64 a1, int a2, int a3)
{
__int64 result; // rax
unsigned int v5; // r12d
int v6; // ecx
__int64 v7; // rax
int v8; // ecx
result = sub_1007FEF90(*(_QWORD *)(a1 + 632));
if ( (_DWORD)result )
{
v5 = 0;
while ( 1 )
{
v7 = sub_1007FEFE0(*(_QWORD *)(a1 + 632), v5);
v8 = *(_DWORD *)(v7 + 60);
if ( v8 <= a2 )
break;
*(_DWORD *)(v7 + 60) = v8 - a3;
v6 = *(_DWORD *)(v7 + 64);
if ( v6 != -1 )
goto LABEL_4;
LABEL_5:
++v5;
result = sub_1007FEF90(*(_QWORD *)(a1 + 632));
if ( v5 >= (unsigned int)result )
return result;
}
v6 = *(_DWORD *)(v7 + 64);
if ( v6 == -1 || v6 <= a2 )
goto LABEL_5;
LABEL_4:
*(_DWORD *)(v7 + 64) = v6 - a3;
goto LABEL_5;
}
return result;
}