// // cocos2d::CCMotionStreak::tintWithColor from 0xaf79ec to 0xaf7a5c (112 bytes) // // 1 xrefs: // > @ 0x86658 // // 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 // // local variable allocation has failed, the output may be wrong! void cocos2d::CCMotionStreak::tintWithColor(cocos2d::CCMotionStreak *a1, cocos2d::ccColor3B a2) { unsigned int i; // w0 __int64 v4; // x1 GLubyte *v5; // x3 __int64 v6; // [xsp+28h] [xbp+28h] BYREF v6 = *(_QWORD *)&a2.r; a1->setColor(a1, (const cocos2d::ccColor3B *)&v6); for ( i = 0; i < 2 * a1->m_uNuPoints; v5[2] = BYTE2(v6) ) { v4 = 4LL * (i++ & 0x3FFFFFFF); v5 = &a1->m_pColorPointer[v4]; *(_WORD *)v5 = v6; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source