// // cocos2d::CCLabelAtlas::setString from 0xae1830 to 0xae193c (268 bytes) // // 3 xrefs: // > `non-virtual thunk to'cocos2d::CCLabelAtlas::setString @ 0xae1940 // > @ 0x64d88 // > @ 0x1201cf8 // // 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 cocos2d::CCLabelAtlas::setString(cocos2d::CCLabelAtlas *a1, const char *a2) { unsigned int v4; // w22 size_t v5; // x0 long double v6; // q0 cocos2d::CCSize v7; // [xsp+50h] [xbp+50h] BYREF v4 = strlen(a2); if ( a1->m_pTextureAtlas->getTotalQuads(a1->m_pTextureAtlas) < v4 ) cocos2d::CCTextureAtlas::resizeCapacity(a1->m_pTextureAtlas, v4); sub_D174B8(&a1->m_sString, 0, *((_QWORD *)a1->m_sString.m_data.m_data - 3), 0); v5 = strlen(a2); *(__n128 *)&v6 = sub_D1798C(&a1->m_sString, a2, v5); ((void (__fastcall *)(cocos2d::CCLabelAtlas *, long double))a1->updateAtlasValues)(a1, v6); cocos2d::CCSize::CCSize(&v7, (float)(a1->m_uItemWidth * v4), (float)a1->m_uItemHeight); a1->setContentSize(a1, &v7); a1->m_uQuadsToDraw = v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source