{"type": "func", "start": 6442880320, "end": 6442880457, "name": "cocos2d::CCParticleSystem::loadDefaults", "pseudocode": "// \n// cocos2d::CCParticleSystem::loadDefaults from 0x180068d40 to 0x180068dc9 (137 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3bf4\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::loadDefaults(cocos2d::CCParticleSystem *this)\n{\n  bool v2; // zf\n\n  this->m_fStartSize = this->m_fDefaultStartSize;\n  this->m_fStartSizeVar = this->m_fDefaultStartSizeVar;\n  this->m_fEndSize = this->m_fDefaultEndSize;\n  cocos2d::CCSize::operator=(&this->m_tPosVar, &this->m_tDefaultPosVar);\n  v2 = this->m_nEmitterMode == 0;\n  this->m_fAngle = this->m_fDefaultAngle;\n  if ( v2 )\n  {\n    ((void (__fastcall *)(cocos2d::CCParticleSystem *))this->setSpeed)(this);\n    ((void (__fastcall *)(cocos2d::CCParticleSystem *))this->setSpeedVar)(this);\n  }\n}", "assembly": "; \n; cocos2d::CCParticleSystem::loadDefaults from 0x180068d40 to 0x180068dc9 (137 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3bf4\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, 0x180068d40\nsub     rsp, 20h                                                       ; +0x2, 0x180068d42\nmov     eax, [rcx+2F0h]                                                ; +0x6, 0x180068d46\nlea     rdx, [rcx+30Ch]                                                ; +0xc, 0x180068d4c\nmov     [rcx+234h], eax                                                ; +0x13, 0x180068d53\nmov     rbx, rcx                                                       ; +0x19, 0x180068d59\nmov     eax, [rcx+2F4h]                                                ; +0x1c, 0x180068d5c\nmov     [rcx+238h], eax                                                ; +0x22, 0x180068d62\nmov     eax, [rcx+2FCh]                                                ; +0x28, 0x180068d68\nmov     [rcx+23Ch], eax                                                ; +0x2e, 0x180068d6e\nadd     rcx, 1E0h                                                      ; +0x34, 0x180068d74\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x3b, 0x180068d7b\ncmp     dword ptr [rbx+2BCh], 0                                        ; +0x40, 0x180068d80\nmov     eax, [rbx+300h]                                                ; +0x47, 0x180068d87\nmov     [rbx+1F0h], eax                                                ; +0x4d, 0x180068d8d\njnz     short loc_180068DC3                                            ; +0x53, 0x180068d93\nmov     rax, [rbx]                                                     ; +0x55, 0x180068d95\nmov     rcx, rbx                                                       ; +0x58, 0x180068d98\nmovss   xmm1, dword ptr [rbx+304h]                                     ; +0x5b, 0x180068d9b\ncall    qword ptr [rax+410h]                                           ; +0x63, 0x180068da3\nmov     rax, [rbx]                                                     ; +0x69, 0x180068da9\nmov     rcx, rbx                                                       ; +0x6c, 0x180068dac\nmovss   xmm1, dword ptr [rbx+308h]                                     ; +0x6f, 0x180068daf\nadd     rsp, 20h                                                       ; +0x77, 0x180068db7\npop     rbx                                                            ; +0x7b, 0x180068dbb\njmp     qword ptr [rax+420h]                                           ; +0x7c, 0x180068dbc\nadd     rsp, 20h                                                       ; +0x83, 0x180068dc3\npop     rbx                                                            ; +0x87, 0x180068dc7\nretn                                                                   ; +0x88, 0x180068dc8", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b3bf4"], "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"}