// // CCCounterLabel::updateString from 0x1400432b0 to 0x140043363 (179 bytes) // // 3 xrefs: // > CCCounterLabel::updateCounter @ 0x140043292 // > GJShopLayer::init @ 0x1402aad71 // > @ 0x1406c450c // // 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 // // Hidden C++ exception states: #wind=1 void CCCounterLabel::updateString(CCCounterLabel *a1) { __int64 m_currentCount; // rdx cocos2d::CCString *v3; // rax cocos2d::CCLabelProtocol_vtbl *v4; // rdi const char *CString; // rax __int64 v6; // rax const char *v7; // rdx _BYTE v8[32]; // [rsp+20h] [rbp-38h] BYREF m_currentCount = (unsigned int)a1->m_currentCount; if ( a1->m_formatterType == 1 ) { v3 = cocos2d::CCString::createWithFormat("%.2f", (float)((float)(int)m_currentCount / 100.0)); v4 = a1->cocos2d::CCLabelBMFont::cocos2d::CCLabelProtocol::__vftable; CString = cocos2d::CCString::getCString(v3); v4->setString(&a1->cocos2d::CCLabelProtocol, CString); } else { v6 = GameToolbox::intToString(v8, m_currentCount); v7 = (const char *)v6; if ( *(_QWORD *)(v6 + 24) > 0xFu ) v7 = *(const char **)v6; a1->setString(&a1->cocos2d::CCLabelProtocol, v7); sub_14003A830((__int64)v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source