// // GameObject::setChildColor from 0x352818 to 0x352866 (78 bytes) // // 2 xrefs: // > ParticleGameObject::setChildColor @ 0x3e0ed2 // > AnimatedGameObject::setChildColor @ 0x3e0f9a // // 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 GameObject::setChildColor(GameObject *a1, const cocos2d::ccColor3B *a2) { cocos2d::CCSprite *m_colorSprite; // r0 __int16 g; // r3 m_colorSprite = a1->m_colorSprite; if ( m_colorSprite ) { if ( a2->r ) { g = 0; } else { g = a2->g; if ( a2->g ) { g = a2->r; } else if ( !a2->b ) { if ( a1->m_childColorType == 1 ) g = 2; else g = 1; } } a1->m_childColorType = g; m_colorSprite->setColor(m_colorSprite, a2); a1->m_colorSprite->setChildColor(a1->m_colorSprite, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source