{"type": "func", "start": 6442880464, "end": 6442880641, "name": "cocos2d::CCParticleSystem::loadScaledDefaults", "pseudocode": "// \n// cocos2d::CCParticleSystem::loadScaledDefaults from 0x180068dd0 to 0x180068e81 (177 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3c00\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::loadScaledDefaults(cocos2d::CCParticleSystem *this, float a2)\n{\n  float v3; // xmm2_4\n  float v4; // xmm0_4\n  int v5; // [rsp+40h] [rbp+8h] BYREF\n\n  v3 = a2 * this->m_fDefaultStartSizeVar;\n  this->m_fStartSize = a2 * this->m_fDefaultStartSize;\n  v4 = a2 * this->m_fDefaultEndSize;\n  this->m_fStartSizeVar = v3;\n  this->m_fEndSize = v4;\n  cocos2d::CCSize::operator*((float *)&this->m_tDefaultPosVar, (float *)&v5, a2);\n  cocos2d::CCSize::operator=(&this->m_tPosVar, &v5);\n  if ( !this->m_nEmitterMode )\n  {\n    ((void (__fastcall *)(cocos2d::CCParticleSystem *))this->setSpeed)(this);\n    ((void (__fastcall *)(cocos2d::CCParticleSystem *))this->setSpeedVar)(this);\n  }\n}", "assembly": "; \n; cocos2d::CCParticleSystem::loadScaledDefaults from 0x180068dd0 to 0x180068e81 (177 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3c00\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, 0x180068dd0\nsub     rsp, 30h                                                       ; +0x2, 0x180068dd2\nmovaps  xmm0, xmm1                                                     ; +0x6, 0x180068dd6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x9, 0x180068dd9\nmulss   xmm0, dword ptr [rcx+2F0h]                                     ; +0xe, 0x180068dde\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x16, 0x180068de6\nmov     rbx, rcx                                                       ; +0x1b, 0x180068deb\nmovaps  xmm2, xmm1                                                     ; +0x1e, 0x180068dee\nmovaps  xmm6, xmm1                                                     ; +0x21, 0x180068df1\nmulss   xmm2, dword ptr [rcx+2F4h]                                     ; +0x24, 0x180068df4\nmovss   dword ptr [rcx+234h], xmm0                                     ; +0x2c, 0x180068dfc\nmovaps  xmm0, xmm1                                                     ; +0x34, 0x180068e04\nmulss   xmm0, dword ptr [rcx+2FCh]                                     ; +0x37, 0x180068e07\nmovss   dword ptr [rcx+238h], xmm2                                     ; +0x3f, 0x180068e0f\nmovaps  xmm2, xmm1                                                     ; +0x47, 0x180068e17\nmovss   dword ptr [rcx+23Ch], xmm0                                     ; +0x4a, 0x180068e1a\nadd     rcx, 30Ch                                                      ; +0x52, 0x180068e22\ncall    ??DCCSize@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCSize::operator*(float) ; +0x59, 0x180068e29\nlea     rcx, [rbx+1E0h]                                                ; +0x5e, 0x180068e2e\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x65, 0x180068e35\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x6a, 0x180068e3a\ncmp     dword ptr [rbx+2BCh], 0                                        ; +0x6f, 0x180068e3f\njnz     short loc_180068E76                                            ; +0x76, 0x180068e46\nmov     rax, [rbx]                                                     ; +0x78, 0x180068e48\nmovaps  xmm1, xmm6                                                     ; +0x7b, 0x180068e4b\nmulss   xmm1, dword ptr [rbx+304h]                                     ; +0x7e, 0x180068e4e\nmov     rcx, rbx                                                       ; +0x86, 0x180068e56\ncall    qword ptr [rax+410h]                                           ; +0x89, 0x180068e59\nmulss   xmm6, dword ptr [rbx+308h]                                     ; +0x8f, 0x180068e5f\nmov     rcx, rbx                                                       ; +0x97, 0x180068e67\nmov     rax, [rbx]                                                     ; +0x9a, 0x180068e6a\nmovaps  xmm1, xmm6                                                     ; +0x9d, 0x180068e6d\ncall    qword ptr [rax+420h]                                           ; +0xa0, 0x180068e70\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xa6, 0x180068e76\nadd     rsp, 30h                                                       ; +0xab, 0x180068e7b\npop     rbx                                                            ; +0xaf, 0x180068e7f\nretn                                                                   ; +0xb0, 0x180068e80", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b3c00"], "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"}