// // cocos2d::CCParticleSystem::saveDefaults from 0x180068fb0 to 0x18006903f (143 bytes) // // 3 xrefs: // > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006838f // > @ 0x1801438a8 // > @ 0x1801b3c30 // // 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 __fastcall cocos2d::CCParticleSystem::saveDefaults(cocos2d::CCParticleSystem *this) { float m_fEndSize; // xmm0_4 bool v3; // zf float v4; // xmm0_4 cocos2d::CCParticleSystem_vtbl *v5; // rax m_fEndSize = this->m_fEndSize; this->m_fDefaultStartSize = this->m_fStartSize; this->m_fDefaultStartSizeVar = this->m_fStartSizeVar; this->m_fDefaultEndSize2 = m_fEndSize; this->m_fDefaultEndSize = m_fEndSize; cocos2d::CCSize::operator=(&this->m_tDefaultPosVar, &this->m_tPosVar); v3 = this->m_nEmitterMode == 0; this->m_fDefaultAngle = this->m_fAngle; if ( v3 ) { v4 = ((float (__fastcall *)(cocos2d::CCParticleSystem *))this->getSpeed)(this); v5 = this->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; this->m_fDefaultModeASpeed = v4; this->m_fDefaultModeASpeedVar = ((float (__fastcall *)(cocos2d::CCParticleSystem *))v5->getSpeedVar)(this); } }