// // GameObject::setChildColor from 0x1401a0dc0 to 0x1401a0e31 (113 bytes) // // 47 xrefs: // > ParticleGameObject::setChildColor @ 0x1404a12af // > AnimatedGameObject::setChildColor @ 0x1404a5840 // > @ 0x140556750 // > @ 0x140556ec0 // > @ 0x14055def8 // > @ 0x14055e578 // > @ 0x1405c8610 // > @ 0x14060e0f0 // > @ 0x14060e810 // > @ 0x14060f048 // > @ 0x14060f6f0 // > @ 0x14060fdc0 // > @ 0x140610478 // > @ 0x140610bc0 // > @ 0x140611420 // > @ 0x140611b58 // > @ 0x140612340 // > @ 0x1406129e8 // > @ 0x140613090 // > @ 0x140613800 // > @ 0x140613ea8 // > @ 0x140614690 // > @ 0x140614ec8 // > @ 0x140615610 // > @ 0x140615cb8 // > @ 0x140616400 // > @ 0x140616bc0 // > @ 0x140617910 // > @ 0x140618080 // > @ 0x140618728 // > @ 0x140618e70 // > @ 0x140619910 // > @ 0x140619fb8 // > @ 0x14061a660 // > @ 0x14061ad80 // > @ 0x14061b428 // > @ 0x14061bb70 // > @ 0x14061c308 // > @ 0x14061c9b0 // > @ 0x14061d058 // > @ 0x14061d700 // > @ 0x14061dda8 // > @ 0x14061e450 // > @ 0x14061eaf8 // > @ 0x14061f308 // > @ 0x14061faa0 // > @ 0x1406cbf04 // // 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; // rcx __int16 v5; // ax m_colorSprite = a1->m_colorSprite; if ( m_colorSprite ) { if ( a2->r || a2->g || a2->b ) v5 = 0; else v5 = (a1->m_childColorType == 1) + 1; a1->m_childColorType = v5; ((void (__fastcall *)(cocos2d::CCRGBAProtocol *))m_colorSprite->setColor)(&m_colorSprite->cocos2d::CCRGBAProtocol); a1->m_colorSprite->setChildColor(a1->m_colorSprite, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source