//
// cocos2d::CCMenuItemFont::recreateLabel from 0x18005d350 to 0x18005d3e2 (146 bytes)
//
// 4 xrefs:
// > cocos2d::CCMenuItemFont::setFontNameObj @ 0x18005d967
// > cocos2d::CCMenuItemFont::setFontSizeObj @ 0x18005d986
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd090
//
// 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:21:49 +0000
//
void __fastcall cocos2d::CCMenuItemFont::recreateLabel(cocos2d::CCMenuItemFont *this)
{
__int64 v2; // rax
const char *v3; // rbx
float v4; // xmm6_4
const char *v5; // rax
struct cocos2d::CCLabelTTF *v6; // rax
v2 = _RTDynamicCast(
*((_QWORD *)this + 48),
0,
&cocos2d::CCNode `RTTI Type Descriptor',
&cocos2d::CCLabelProtocol `RTTI Type Descriptor',
0);
v3 = (char *)this + 408;
if ( *((_QWORD *)this + 54) > 0xFu )
v3 = *(const char **)v3;
v4 = (float)*((int *)this + 100);
v5 = (const char *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 8LL))(v2);
v6 = cocos2d::CCLabelTTF::create(v5, v3, v4);
(*(void (__fastcall **)(cocos2d::CCMenuItemFont *, struct cocos2d::CCLabelTTF *))(*(_QWORD *)this + 976LL))(this, v6);
}