// // cocos2d::CCParticleSystem::loadScaledDefaults from 0x180068dd0 to 0x180068e81 (177 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b3c00 // // 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::loadScaledDefaults(cocos2d::CCParticleSystem *this, float a2) { float v3; // xmm2_4 float v4; // xmm0_4 int v5; // [rsp+40h] [rbp+8h] BYREF v3 = a2 * this->m_fDefaultStartSizeVar; this->m_fStartSize = a2 * this->m_fDefaultStartSize; v4 = a2 * this->m_fDefaultEndSize; this->m_fStartSizeVar = v3; this->m_fEndSize = v4; cocos2d::CCSize::operator*((float *)&this->m_tDefaultPosVar, (float *)&v5, a2); cocos2d::CCSize::operator=(&this->m_tPosVar, &v5); if ( !this->m_nEmitterMode ) { ((void (__fastcall *)(cocos2d::CCParticleSystem *))this->setSpeed)(this); ((void (__fastcall *)(cocos2d::CCParticleSystem *))this->setSpeedVar)(this); } }