{"type": "func", "start": 6442889520, "end": 6442889663, "name": "cocos2d::CCParticleSystem::saveDefaults", "pseudocode": "// \n// cocos2d::CCParticleSystem::saveDefaults from 0x18006b130 to 0x18006b1bf (143 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a51b\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bdf78\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::saveDefaults(cocos2d::CCParticleSystem *this)\n{\n  int v1; // xmm0_4\n  bool v3; // zf\n  float v4; // xmm0_4\n  __int64 v5; // rax\n\n  v1 = *((_DWORD *)this + 144);\n  *((_DWORD *)this + 188) = *((_DWORD *)this + 142);\n  *((_DWORD *)this + 189) = *((_DWORD *)this + 143);\n  *((_DWORD *)this + 190) = v1;\n  *((_DWORD *)this + 191) = v1;\n  cocos2d::CCSize::operator=((_DWORD *)this + 195, (_DWORD *)this + 120);\n  v3 = *((_DWORD *)this + 175) == 0;\n  *((_DWORD *)this + 192) = *((_DWORD *)this + 124);\n  if ( v3 )\n  {\n    v4 = (*(float (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)this + 1048LL))(this);\n    v5 = *(_QWORD *)this;\n    *((float *)this + 193) = v4;\n    *((float *)this + 194) = (*(float (__fastcall **)(cocos2d::CCParticleSystem *))(v5 + 1064))(this);\n  }\n}", "assembly": "; \n; cocos2d::CCParticleSystem::saveDefaults from 0x18006b130 to 0x18006b1bf (143 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a51b\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bdf78\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, 0x18006b130\nsub     rsp, 20h                                                       ; +0x2, 0x18006b132\nmov     eax, [rcx+238h]                                                ; +0x6, 0x18006b136\nlea     rdx, [rcx+1E0h]                                                ; +0xc, 0x18006b13c\nmovss   xmm0, dword ptr [rcx+240h]                                     ; +0x13, 0x18006b143\nmov     rbx, rcx                                                       ; +0x1b, 0x18006b14b\nmov     [rcx+2F0h], eax                                                ; +0x1e, 0x18006b14e\nmov     eax, [rcx+23Ch]                                                ; +0x24, 0x18006b154\nmov     [rcx+2F4h], eax                                                ; +0x2a, 0x18006b15a\nmovss   dword ptr [rcx+2F8h], xmm0                                     ; +0x30, 0x18006b160\nmovss   dword ptr [rcx+2FCh], xmm0                                     ; +0x38, 0x18006b168\nadd     rcx, 30Ch                                                      ; +0x40, 0x18006b170\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x47, 0x18006b177\ncmp     dword ptr [rbx+2BCh], 0                                        ; +0x4c, 0x18006b17c\nmov     eax, [rbx+1F0h]                                                ; +0x53, 0x18006b183\nmov     [rbx+300h], eax                                                ; +0x59, 0x18006b189\njnz     short loc_18006B1B9                                            ; +0x5f, 0x18006b18f\nmov     rax, [rbx]                                                     ; +0x61, 0x18006b191\nmov     rcx, rbx                                                       ; +0x64, 0x18006b194\ncall    qword ptr [rax+418h]                                           ; +0x67, 0x18006b197\nmov     rax, [rbx]                                                     ; +0x6d, 0x18006b19d\nmov     rcx, rbx                                                       ; +0x70, 0x18006b1a0\nmovss   dword ptr [rbx+304h], xmm0                                     ; +0x73, 0x18006b1a3\ncall    qword ptr [rax+428h]                                           ; +0x7b, 0x18006b1ab\nmovss   dword ptr [rbx+308h], xmm0                                     ; +0x81, 0x18006b1b1\nadd     rsp, 20h                                                       ; +0x89, 0x18006b1b9\npop     rbx                                                            ; +0x8d, 0x18006b1bd\nretn                                                                   ; +0x8e, 0x18006b1be", "xrefs": ["cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a51b", "<???> @ 0x18014cf68", "<???> @ 0x1801bdf78"], "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"}