{"type": "func", "start": 6442880944, "end": 6442881087, "name": "cocos2d::CCParticleSystem::saveDefaults", "pseudocode": "// \n// cocos2d::CCParticleSystem::saveDefaults from 0x180068fb0 to 0x18006903f (143 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006838f\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3c30\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCParticleSystem::saveDefaults(cocos2d::CCParticleSystem *this)\n{\n  float m_fEndSize; // xmm0_4\n  bool v3; // zf\n  float v4; // xmm0_4\n  cocos2d::CCParticleSystem_vtbl *v5; // rax\n\n  m_fEndSize = this->m_fEndSize;\n  this->m_fDefaultStartSize = this->m_fStartSize;\n  this->m_fDefaultStartSizeVar = this->m_fStartSizeVar;\n  this->m_fDefaultEndSize2 = m_fEndSize;\n  this->m_fDefaultEndSize = m_fEndSize;\n  cocos2d::CCSize::operator=(&this->m_tDefaultPosVar, &this->m_tPosVar);\n  v3 = this->m_nEmitterMode == 0;\n  this->m_fDefaultAngle = this->m_fAngle;\n  if ( v3 )\n  {\n    v4 = ((float (__fastcall *)(cocos2d::CCParticleSystem *))this->getSpeed)(this);\n    v5 = this->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    this->m_fDefaultModeASpeed = v4;\n    this->m_fDefaultModeASpeedVar = ((float (__fastcall *)(cocos2d::CCParticleSystem *))v5->getSpeedVar)(this);\n  }\n}", "assembly": "; \n; cocos2d::CCParticleSystem::saveDefaults from 0x180068fb0 to 0x18006903f (143 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006838f\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3c30\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x180068fb0\nsub     rsp, 20h                                                       ; +0x2, 0x180068fb2\nmov     eax, [rcx+234h]                                                ; +0x6, 0x180068fb6\nlea     rdx, [rcx+1E0h]                                                ; +0xc, 0x180068fbc\nmovss   xmm0, dword ptr [rcx+23Ch]                                     ; +0x13, 0x180068fc3\nmov     rbx, rcx                                                       ; +0x1b, 0x180068fcb\nmov     [rcx+2F0h], eax                                                ; +0x1e, 0x180068fce\nmov     eax, [rcx+238h]                                                ; +0x24, 0x180068fd4\nmov     [rcx+2F4h], eax                                                ; +0x2a, 0x180068fda\nmovss   dword ptr [rcx+2F8h], xmm0                                     ; +0x30, 0x180068fe0\nmovss   dword ptr [rcx+2FCh], xmm0                                     ; +0x38, 0x180068fe8\nadd     rcx, 30Ch                                                      ; +0x40, 0x180068ff0\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x47, 0x180068ff7\ncmp     dword ptr [rbx+2BCh], 0                                        ; +0x4c, 0x180068ffc\nmov     eax, [rbx+1F0h]                                                ; +0x53, 0x180069003\nmov     [rbx+300h], eax                                                ; +0x59, 0x180069009\njnz     short loc_180069039                                            ; +0x5f, 0x18006900f\nmov     rax, [rbx]                                                     ; +0x61, 0x180069011\nmov     rcx, rbx                                                       ; +0x64, 0x180069014\ncall    qword ptr [rax+408h]                                           ; +0x67, 0x180069017\nmov     rax, [rbx]                                                     ; +0x6d, 0x18006901d\nmov     rcx, rbx                                                       ; +0x70, 0x180069020\nmovss   dword ptr [rbx+304h], xmm0                                     ; +0x73, 0x180069023\ncall    qword ptr [rax+418h]                                           ; +0x7b, 0x18006902b\nmovss   dword ptr [rbx+308h], xmm0                                     ; +0x81, 0x180069031\nadd     rsp, 20h                                                       ; +0x89, 0x180069039\npop     rbx                                                            ; +0x8d, 0x18006903d\nretn                                                                   ; +0x8e, 0x18006903e", "xrefs": ["cocos2d::CCParticleSystem::initWithDictionary @ 0x18006838f", "<???> @ 0x1801438a8", "<???> @ 0x1801b3c30"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}