//
// LabelGameObject::updateLabel_1 from 0x1001c1870 to 0x1001c18e0 (112 bytes)
//
// 0 xrefs:
//
// 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 LabelGameObject::updateLabel_1(LabelGameObject *a1, float a2)
{
cocos2d::CCLabelBMFont *m_label; // rdi
char *v4; // rsi
char v5; // [rsp+0h] [rbp-20h] BYREF
char v6; // [rsp+1h] [rbp-1Fh] BYREF
void *__p; // [rsp+10h] [rbp-10h]
GameToolbox::intToString(&v5, (unsigned int)(int)a2);
if ( !a1->m_updateLabel )
{
m_label = a1->m_label;
if ( m_label )
{
m_label->m_nExtraKerning = a1->m_kerning;
if ( (v5 & 1) != 0 )
v4 = (char *)__p;
else
v4 = &v6;
((void (__fastcall *)(cocos2d::CCLabelBMFont *, char *))m_label->setString)(m_label, v4);
}
a1->m_labelDirty = 0;
}
if ( (v5 & 1) != 0 )
operator delete(__p);
}