// // cocos2d::CCProgressTimer::updateColor from 0x1003fd858 to 0x1003fd8a0 (72 bytes) // // 7 xrefs: // > cocos2d::CCProgressTimer::setColor @ 0x1003fd854 // > sub_1003FD8A0 @ 0x1003fd8cc // > cocos2d::CCProgressTimer::setOpacity @ 0x1003fd90c // > sub_1003FD910 @ 0x1003fd93c // > cocos2d::CCProgressTimer::updateRadial @ 0x1003fdc84 // > cocos2d::CCProgressTimer::updateRadial @ 0x1003fdcac // > cocos2d::CCProgressTimer::updateBar @ 0x1003fe2c8 // // 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 cocos2d::CCProgressTimer::updateColor(cocos2d::CCProgressTimer *a1) { cocos2d::CCSprite *m_pSprite; // x9 __int64 v2; // x8 cocos2d::ccColor4B colors; // w9 __int64 v4; // x10 m_pSprite = a1->m_pSprite; if ( m_pSprite && a1->m_pVertexData && a1->m_nVertexDataCount >= 1 ) { v2 = 0; colors = m_pSprite->m_sQuad.tl.colors; v4 = 8; do { *(cocos2d::ccColor4B *)((char *)&a1->m_pVertexData->vertices.x + v4) = colors; ++v2; v4 += 20; } while ( v2 < a1->m_nVertexDataCount ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source