// // cocos2d::CCParticleSystem::saveDefaults from 0x10019457c to 0x1001945f4 (120 bytes) // // 2 xrefs: // > GameToolbox::particleFromStruct @ 0x100047e7c // > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193fe0 // // 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 *a1) { __int128 v2; // q0 *(_QWORD *)&v2 = *(_QWORD *)&a1->m_fStartSize; DWORD2(v2) = LODWORD(a1->m_fEndSize); HIDWORD(v2) = DWORD2(v2); *(_OWORD *)&a1->m_fDefaultStartSize = v2; sub_1000229D0(&a1->m_tDefaultPosVar, (double *)&a1->m_tPosVar); a1->m_fDefaultAngle = a1->m_fAngle; if ( !a1->m_nEmitterMode ) { a1->m_fDefaultModeASpeed = ((float (__fastcall *)(cocos2d::CCParticleSystem *))a1->getSpeed)(a1); a1->m_fDefaultModeASpeedVar = ((float (__fastcall *)(cocos2d::CCParticleSystem *))a1->getSpeedVar)(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source