{"type": "func", "start": 6442889040, "end": 6442889217, "name": "cocos2d::CCParticleSystem::loadScaledDefaults", "pseudocode": "// \n// cocos2d::CCParticleSystem::loadScaledDefaults from 0x18006af50 to 0x18006b001 (177 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bdf48\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:54 +0000\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 * *((float *)this + 189);\n  *((float *)this + 142) = a2 * *((float *)this + 188);\n  v4 = a2 * *((float *)this + 191);\n  *((float *)this + 143) = v3;\n  *((float *)this + 144) = v4;\n  cocos2d::CCSize::operator*((float *)this + 195, (float *)&v5, a2);\n  cocos2d::CCSize::operator=((_DWORD *)this + 120, &v5);\n  if ( !*((_DWORD *)this + 175) )\n  {\n    (*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)this + 1056LL))(this);\n    (*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)this + 1072LL))(this);\n  }\n}", "assembly": "; \n; cocos2d::CCParticleSystem::loadScaledDefaults from 0x18006af50 to 0x18006b001 (177 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bdf48\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:54 +0000\n; \npush    rbx                                                            ; +0x0, 0x18006af50\nsub     rsp, 30h                                                       ; +0x2, 0x18006af52\nmovaps  xmm0, xmm1                                                     ; +0x6, 0x18006af56\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x9, 0x18006af59\nmulss   xmm0, dword ptr [rcx+2F0h]                                     ; +0xe, 0x18006af5e\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x16, 0x18006af66\nmov     rbx, rcx                                                       ; +0x1b, 0x18006af6b\nmovaps  xmm2, xmm1                                                     ; +0x1e, 0x18006af6e\nmovaps  xmm6, xmm1                                                     ; +0x21, 0x18006af71\nmulss   xmm2, dword ptr [rcx+2F4h]                                     ; +0x24, 0x18006af74\nmovss   dword ptr [rcx+238h], xmm0                                     ; +0x2c, 0x18006af7c\nmovaps  xmm0, xmm1                                                     ; +0x34, 0x18006af84\nmulss   xmm0, dword ptr [rcx+2FCh]                                     ; +0x37, 0x18006af87\nmovss   dword ptr [rcx+23Ch], xmm2                                     ; +0x3f, 0x18006af8f\nmovaps  xmm2, xmm1                                                     ; +0x47, 0x18006af97\nmovss   dword ptr [rcx+240h], xmm0                                     ; +0x4a, 0x18006af9a\nadd     rcx, 30Ch                                                      ; +0x52, 0x18006afa2\ncall    ??DCCSize@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCSize::operator*(float) ; +0x59, 0x18006afa9\nlea     rcx, [rbx+1E0h]                                                ; +0x5e, 0x18006afae\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x65, 0x18006afb5\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x6a, 0x18006afba\ncmp     dword ptr [rbx+2BCh], 0                                        ; +0x6f, 0x18006afbf\njnz     short loc_18006AFF6                                            ; +0x76, 0x18006afc6\nmov     rax, [rbx]                                                     ; +0x78, 0x18006afc8\nmovaps  xmm1, xmm6                                                     ; +0x7b, 0x18006afcb\nmulss   xmm1, dword ptr [rbx+304h]                                     ; +0x7e, 0x18006afce\nmov     rcx, rbx                                                       ; +0x86, 0x18006afd6\ncall    qword ptr [rax+420h]                                           ; +0x89, 0x18006afd9\nmulss   xmm6, dword ptr [rbx+308h]                                     ; +0x8f, 0x18006afdf\nmov     rcx, rbx                                                       ; +0x97, 0x18006afe7\nmov     rax, [rbx]                                                     ; +0x9a, 0x18006afea\nmovaps  xmm1, xmm6                                                     ; +0x9d, 0x18006afed\ncall    qword ptr [rax+430h]                                           ; +0xa0, 0x18006aff0\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xa6, 0x18006aff6\nadd     rsp, 30h                                                       ; +0xab, 0x18006affb\npop     rbx                                                            ; +0xaf, 0x18006afff\nretn                                                                   ; +0xb0, 0x18006b000", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bdf48"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}