//
// cocos2d::CCMenuItemFont::recreateLabel from 0x5d5ae0 to 0x5d5b2c (76 bytes)
//
// 2 xrefs:
// > cocos2d::CCMenuItemFont::setFontSizeObj @ 0x5d5b38
// > cocos2d::CCMenuItemFont::setFontNameObj @ 0x5d5b54
//
// 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 cocos2d::CCMenuItemFont::recreateLabel(cocos2d::CCMenuItemFont *a1)
{
const void *m_uID; // r0
void *v3; // r0
cocos2d::CCLabelTTF *v4; // r0
float v5; // r3
cocos2d::CCLabelTTF *v6; // r0
m_uID = (const void *)a1[1].m_uID;
if ( !m_uID )
__und(0xFFu);
v3 = _dynamic_cast(
m_uID,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol,
-2);
v4 = (cocos2d::CCLabelTTF *)(*(int (__fastcall **)(void *))(*(_DWORD *)v3 + 4))(v3);
v6 = cocos2d::CCLabelTTF::create(
v4,
(char *)a1[1].m_uAutoReleaseCount,
COERCE_CONST_CHAR_((float)a1[1].m_uReference),
v5);
a1->setLabel(a1, v6);
}