//
// cocos2d::CCMenuItemFont::recreateLabel from 0x18005b350 to 0x18005b3dc (140 bytes)
//
// 4 xrefs:
// > cocos2d::CCMenuItemFont::setFontNameObj @ 0x18005b92e
// > cocos2d::CCMenuItemFont::setFontSizeObj @ 0x18005b956
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2dd8
//
// 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
//
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 *))this->setLabel)(this, v6);
}