// // cocos2d::CCMotionStreak::tintWithColor from 0x18005d1a0 to 0x18005d207 (103 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b3144 // // 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 // __int64 __fastcall cocos2d::CCMotionStreak::tintWithColor( cocos2d::CCMotionStreak *this, struct cocos2d::_ccColor3B *a2) { unsigned int v4; // r8d __int64 result; // rax GLubyte *v6; // rdx ((void (__fastcall *)(cocos2d::CCRGBAProtocol *))this->setColor)(&this->cocos2d::CCRGBAProtocol); v4 = 0; result = 2 * this->m_uNuPoints; if ( (_DWORD)result ) { do { v6 = &this->m_pColorPointer[4 * v4++]; *(_WORD *)v6 = *(_WORD *)&a2->r; v6[2] = a2->b; result = 2 * this->m_uNuPoints; } while ( v4 < (unsigned int)result ); } return result; }