// // LabelGameObject::updateLabelIfDirty from 0x1003890c4 to 0x100389170 (172 bytes) // // 2 xrefs: // > GJBaseGameLayer::updateQueuedLabels @ 0x1001fc770 // > GJBaseGameLayer::updateQueuedLabels @ 0x1001fc7a8 // // 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::updateLabelIfDirty(LabelGameObject *a1) { cocos2d::CCLabelBMFont *m_label; // x0 std::string *p_p; // x1 std::string __p; // [xsp+0h] [xbp-30h] BYREF if ( a1->m_labelDirty ) { if ( a1->m_labelString.m_data.m_short.shortStorage.__elems_[22] < 0 ) sub_1000097D0(&__p, (void *)a1->m_labelString.m_data.m_long.capacitym1, a1->m_labelString.m_data.m_long.size); else __p = a1->m_labelString; if ( !a1->m_updateLabel ) { m_label = a1->m_label; if ( m_label ) { m_label->m_nExtraKerning = a1->m_kerning; if ( __p.m_data.m_short.shortStorage.__elems_[22] >= 0 ) p_p = &__p; else p_p = (std::string *)__p.m_data.m_long.capacitym1; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, std::string *))m_label->setString)(m_label, p_p); } a1->m_labelDirty = 0; } if ( __p.m_data.m_short.shortStorage.__elems_[22] < 0 ) operator delete((void *)__p.m_data.m_long.capacitym1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source