// // CCPartAnimSprite::setColor from 0x140046830 to 0x140046905 (213 bytes) // // 6 xrefs: // > CCAnimatedSprite::switchToMode @ 0x140040c59 // > CCAnimatedSprite::setColor @ 0x140041189 // > GJRobotSprite::updateColors @ 0x1402a6fd3 // > @ 0x140662c64 // > @ 0x140662c74 // > @ 0x1406c4824 // // 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 CCPartAnimSprite::setColor(CCPartAnimSprite *a1, cocos2d::ccColor3B *a2) { cocos2d::CCObject **arr; // rbx __int64 num; // rdi cocos2d::CCObject **i; // rdi cocos2d::CCSprite::setColor((cocos2d::CCSprite *)&a1->cocos2d::CCRGBAProtocol, a2); if ( a1->getChildren(a1) ) { if ( a1->getChildren(a1)->data->num ) { arr = a1->getChildren(a1)->data->arr; num = a1->getChildren(a1)->data->num; for ( i = &a1->getChildren(a1)->data->arr[num - 1]; arr <= i; ++arr ) { if ( !*arr ) break; (**(void (__fastcall ***)(__int64, cocos2d::ccColor3B *))&(*arr)[5].m_unknown2)( (__int64)&(*arr)[5].m_unknown2, a2); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source