//
// cocos2d::CCMenuItemFont::operator= from 0x1800cdf90 to 0x1800cdfe8 (88 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ba014
//
// 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 cocos2d::CCMenuItemFont::operator=(__int64 a1, __int64 a2)
{
void *v4; // rdx
cocos2d::CCMenuItemLabel::operator=();
*(_DWORD *)(a1 + 400) = *(_DWORD *)(a2 + 400);
if ( a1 + 408 != a2 + 408 )
{
v4 = (void *)(a2 + 408);
if ( *(_QWORD *)(a2 + 432) > 0xFu )
v4 = *(void **)(a2 + 408);
sub_180010050((void **)(a1 + 408), v4, *(_QWORD *)(a2 + 424));
}
return a1;
}