// // cocos2d::CCProgressTimer::updateColor from 0x5d7434 to 0x5d7474 (64 bytes) // // 5 xrefs: // > CCCountdown::init @ 0x2e54a4 // > cocos2d::CCProgressTimer::setColor @ 0x5d748a // > cocos2d::CCProgressTimer::setOpacity @ 0x5d74ac // > cocos2d::CCProgressTimer::updateBar @ 0x5d7958 // > cocos2d::CCProgressTimer::updateRadial @ 0x5d7bcc // // 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::CCProgressTimer::updateColor(cocos2d::CCProgressTimer *a1) { cocos2d::CCSprite *m_pSprite; // r3 GLubyte r; // r6 int v3; // r2 GLubyte g; // r1 GLubyte b; // r5 GLubyte a; // r4 cocos2d::ccV2F_C4B_T2F *v7; // r3 m_pSprite = a1->m_pSprite; if ( m_pSprite && a1->m_pVertexData ) { r = m_pSprite->m_sQuad.tl.colors.r; v3 = 0; g = m_pSprite->m_sQuad.tl.colors.g; b = m_pSprite->m_sQuad.tl.colors.b; a = m_pSprite->m_sQuad.tl.colors.a; while ( v3 < a1->m_nVertexDataCount ) { v7 = &a1->m_pVertexData[v3++]; v7->colors.r = r; v7->colors.g = g; v7->colors.b = b; v7->colors.a = a; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source