// // cocos2d::CCMotionStreak::tintWithColor from 0x5d6d18 to 0x5d6d52 (58 bytes) // // 0 xrefs: // // 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::CCMotionStreak::tintWithColor(cocos2d::CCMotionStreak *a1, cocos2d::ccColor3B a2) { unsigned int i; // r3 GLubyte v4; // r0 GLubyte *v5; // r1 int v6; // [sp+4h] [bp-4h] BYREF v6 = *(_DWORD *)&a2.r; a1->setColor(a1, (const cocos2d::ccColor3B *)&v6); for ( i = 0; i < 2 * a1->m_uNuPoints; ++i ) { v4 = BYTE2(v6); v5 = &a1->m_pColorPointer[4 * i]; *(_WORD *)v5 = v6; v5[2] = v4; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source