// // cocos2d::CCProgressTimer::updateColor from 0x18005ea60 to 0x18005eac0 (96 bytes) // // 4 xrefs: // > cocos2d::CCProgressTimer::setColor @ 0x18005dfd5 // > cocos2d::CCProgressTimer::setOpacity @ 0x18005e066 // > @ 0x1801438a8 // > @ 0x1801b32e8 // // 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 *this) { cocos2d::CCSprite *m_pSprite; // rax unsigned __int64 v2; // r9 int v3; // eax unsigned __int64 v4; // r9 __int64 v5; // rdx m_pSprite = this->m_pSprite; if ( m_pSprite ) { if ( this->m_pVertexData ) { v2 = *(_QWORD *)&m_pSprite->m_sQuad.tl.vertices.z; v3 = 0; v4 = HIDWORD(v2); if ( this->m_nVertexDataCount > 0 ) { v5 = 0; do { ++v5; ++v3; this->m_pVertexData[v5 - 1].colors = (cocos2d::ccColor4B)v4; } while ( v3 < this->m_nVertexDataCount ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source