//
// LabelGameObject::removeLabel from 0x3eb23c to 0x3eb2a2 (102 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateLevelFont @ 0x3684bc
// > LabelGameObject::createLabel @ 0x3eb2c2
//
// 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 LabelGameObject::removeLabel(LabelGameObject *a1)
{
cocos2d::CCLabelBMFont *m_label; // r0
char *v3; // r0
_BYTE v4[4]; // [sp+8h] [bp-8h] BYREF
m_label = a1->m_label;
if ( m_label )
{
v3 = (char *)m_label->getString(m_label);
sub_776584((int)v4, v3);
LabelGameObject::queueUpdateLabel((int)a1, (int)v4);
sub_774008(v4);
a1->m_label->removeMeAndCleanup(a1->m_label);
a1->m_label = nullptr;
}
}