//
// sub_180046F20 from 0x180046f20 to 0x180046f85 (101 bytes)
//
// 4 xrefs:
// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004cd4c
// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004cd71
// > ??> @ 0x1801b17b8
// > ??> @ 0x1801b17c4
//
// 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
//
__int64 __fastcall sub_180046F20(__int64 a1, _QWORD *a2)
{
__int64 v4; // rdi
_QWORD *v5; // rsi
v4 = (__int64)(*(_QWORD *)(a1 + 8) - *(_QWORD *)a1) >> 1;
v5 = sub_180046A50(a1, a2);
memmove(v5, *(const void **)a1, *(_QWORD *)(a1 + 8) - *(_QWORD *)a1);
return sub_180047970(a1, v5, v4, *a2);
}