// // cocos2d::CCParticleSystem::loadScaledDefaults from 0x5dcf4c to 0x5dcfe8 (156 bytes) // // 14 xrefs: // > PlayerObject::togglePlayerScale @ 0x344958 // > PlayerObject::togglePlayerScale @ 0x344962 // > PlayerObject::togglePlayerScale @ 0x34496c // > PlayerObject::togglePlayerScale @ 0x344976 // > PlayerObject::togglePlayerScale @ 0x344980 // > PlayerObject::togglePlayerScale @ 0x34498a // > PlayerObject::togglePlayerScale @ 0x344994 // > PlayerObject::togglePlayerScale @ 0x34499e // > PlayerObject::togglePlayerScale @ 0x3449a8 // > PlayerObject::togglePlayerScale @ 0x3449b2 // > PlayerObject::togglePlayerScale @ 0x3449bc // > GameObject::claimParticle @ 0x35609e // > ParticleGameObject::updateParticleScale @ 0x3e7764 // > GameObject::spawnDefaultPickupParticle @ 0x52a8f0 // // 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 cocos2d::CCParticleSystem::loadScaledDefaults(cocos2d::CCParticleSystem *a1, float a2) { int v4; // r2 bool v5; // r3 cocos2d::CCPoint v6; // [sp+4h] [bp-Ch] BYREF a1->m_fStartSize = a1->m_fDefaultStartSize * a2; a1->m_fStartSizeVar = a1->m_fDefaultStartSizeVar * a2; a1->m_fEndSize = a1->m_fDefaultEndSize * a2; cocos2d::CCPoint::operator*(&v6, &a1->m_tDefaultPosVar.x, a2); cocos2d::CCPoint::operator=(&a1->m_tPosVar, &v6.x, v4, v5); if ( !a1->m_nEmitterMode ) { ((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))a1->setSpeed)(a1, a2 * a1->m_fDefaultModeASpeed); ((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))a1->setSpeedVar)(a1, a2 * a1->m_fDefaultModeASpeedVar); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source