// // LabelGameObject::updateLabelIfDirty from 0x1001c1900 to 0x1001c19b1 (177 bytes) // // 4 xrefs: // > GJBaseGameLayer::updateQueuedLabels @ 0x10014dec5 // > GJBaseGameLayer::updateQueuedLabels @ 0x10014df15 // > GJBaseGameLayer::update @ 0x100152dc5 // > GJBaseGameLayer::update @ 0x100152e15 // // 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) { double v1; // xmm0_8 cocos2d::CCLabelBMFont *m_label; // rdi char *v4; // rsi __int128 v5; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] if ( a1->m_labelDirty ) { if ( (a1->m_labelString.m_data.m_short.sizex2 & 1) != 0 ) { sub_100006B70(&v5, a1->m_labelString.m_data.m_long.longStorage, a1->m_labelString.m_data.m_long.size, v1); if ( a1->m_updateLabel ) goto LABEL_12; } else { __p = a1->m_labelString.m_data.m_long.longStorage; v5 = *(_OWORD *)&a1->m_labelString.m_data.m_short.sizex2; if ( a1->m_updateLabel ) { LABEL_12: if ( (v5 & 1) != 0 ) operator delete(__p); return; } } m_label = a1->m_label; if ( m_label ) { m_label->m_nExtraKerning = a1->m_kerning; if ( (v5 & 1) != 0 ) v4 = (char *)__p; else v4 = (char *)&v5 + 1; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, char *))m_label->setString)(m_label, v4); } a1->m_labelDirty = 0; goto LABEL_12; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source