//
// cocos2d::CCMenuItemFont::recreateLabel from 0x1003a8d90 to 0x1003a8e07 (119 bytes)
//
// 0 xrefs:
//
// 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 12:29:23 +0000
//
__int64 __fastcall cocos2d::CCMenuItemFont::recreateLabel(__int64 a1)
{
void *v1; // rax
__int64 v2; // rax
__int64 v3; // rsi
float v4; // xmm0_4
__int64 v5; // rax
v1 = __dynamic_cast(
*(const void **)(a1 + 384),
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol,
-2);
v2 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v1 + 8LL))(v1);
if ( (*(_BYTE *)(a1 + 408) & 1) != 0 )
v3 = *(_QWORD *)(a1 + 424);
else
v3 = a1 + 409;
v4 = (float)*(int *)(a1 + 400);
v5 = cocos2d::CCLabelTTF::create_2(v2, v3);
return (*(__int64 (__fastcall **)(__int64, __int64, float))(*(_QWORD *)a1 + 1096LL))(a1, v5, v4);
}