//
// cocos2d::CCMenuItemFont::operator= from 0x1800d2310 to 0x1800d2368 (88 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c43e0
//
// 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 11:22:31 +0000
//
__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_1800101E0((void **)(a1 + 408), v4, *(_QWORD *)(a2 + 424));
}
return a1;
}