// // cocos2d::CCProgressTimer::setColor from 0x1006046e0 to 0x100604754 (116 bytes) // // 1 xrefs: // > @ 0x10097ecd0 // // 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::setColor(cocos2d::CCProgressTimer *a1, const cocos2d::ccColor3B *a2) { cocos2d::CCSprite *m_pSprite; // rax cocos2d::ccColor4B colors; // eax __int64 v4; // rcx __int64 v5; // rdx ((void (__fastcall *)(cocos2d::CCSprite *, const cocos2d::ccColor3B *))a1->m_pSprite->setColor)(a1->m_pSprite, a2); m_pSprite = a1->m_pSprite; if ( m_pSprite && a1->m_pVertexData && a1->m_nVertexDataCount > 0 ) { colors = m_pSprite->m_sQuad.tl.colors; v4 = 8; v5 = 0; do { *(cocos2d::ccColor4B *)((char *)&a1->m_pVertexData->vertices.x + v4) = colors; ++v5; v4 += 20; } while ( v5 < a1->m_nVertexDataCount ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source