// // cocos2d::CCProgressTimer::updateColor from 0x100604760 to 0x1006047af (79 bytes) // // 1 xrefs: // > CCCountdown::init @ 0x1007c6665 // // 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; // rax cocos2d::ccColor4B colors; // eax __int64 v3; // rcx __int64 v4; // rdx m_pSprite = a1->m_pSprite; if ( m_pSprite && a1->m_pVertexData && a1->m_nVertexDataCount > 0 ) { colors = m_pSprite->m_sQuad.tl.colors; v3 = 8; v4 = 0; do { *(cocos2d::ccColor4B *)((char *)&a1->m_pVertexData->vertices.x + v3) = colors; ++v4; v3 += 20; } while ( v4 < a1->m_nVertexDataCount ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source