{"type": "func", "start": 6442889792, "end": 6442889904, "name": "cocos2d::CCParticleSystem::setBlendAdditive", "pseudocode": "// \n// cocos2d::CCParticleSystem::setBlendAdditive from 0x18006b240 to 0x18006b2b0 (112 bytes)\n// \n// 15 xrefs:\n// > <???> @ 0x180101128\n// > <???> @ 0x1801017a8\n// > <???> @ 0x180101e28\n// > <???> @ 0x1801024a8\n// > <???> @ 0x180102b28\n// > <???> @ 0x1801031a8\n// > <???> @ 0x180103828\n// > <???> @ 0x180103ea8\n// > <???> @ 0x180104528\n// > <???> @ 0x180104ba8\n// > <???> @ 0x180105228\n// > <???> @ 0x1801058f8\n// > <???> @ 0x180106580\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bdf84\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::setBlendAdditive(cocos2d::CCParticleSystem *this, char a2)\n{\n  cocos2d::CCCamera *v3; // rcx\n\n  if ( a2 )\n  {\n    *((_DWORD *)this + 170) = 770;\n    *((_DWORD *)this + 171) = 1;\n  }\n  else\n  {\n    v3 = *((cocos2d::CCCamera **)this + 84);\n    if ( !v3 || (unsigned __int8)cocos2d::CCCamera::isDirty(v3) )\n    {\n      *((_DWORD *)this + 170) = 1;\n      *((_DWORD *)this + 171) = 771;\n    }\n    else\n    {\n      *((_DWORD *)this + 170) = 770;\n      *((_DWORD *)this + 171) = 771;\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCParticleSystem::setBlendAdditive from 0x18006b240 to 0x18006b2b0 (112 bytes)\n; \n; 15 xrefs:\n; > <???> @ 0x180101128\n; > <???> @ 0x1801017a8\n; > <???> @ 0x180101e28\n; > <???> @ 0x1801024a8\n; > <???> @ 0x180102b28\n; > <???> @ 0x1801031a8\n; > <???> @ 0x180103828\n; > <???> @ 0x180103ea8\n; > <???> @ 0x180104528\n; > <???> @ 0x180104ba8\n; > <???> @ 0x180105228\n; > <???> @ 0x1801058f8\n; > <???> @ 0x180106580\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bdf84\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, 0x18006b240\nsub     rsp, 20h                                                       ; +0x2, 0x18006b242\nmov     rbx, rcx                                                       ; +0x6, 0x18006b246\ntest    dl, dl                                                         ; +0x9, 0x18006b249\njz      short loc_18006B267                                            ; +0xb, 0x18006b24b\nmov     dword ptr [rcx+2A8h], 302h                                     ; +0xd, 0x18006b24d\nmov     dword ptr [rcx+2ACh], 1                                        ; +0x17, 0x18006b257\nadd     rsp, 20h                                                       ; +0x21, 0x18006b261\npop     rbx                                                            ; +0x25, 0x18006b265\nretn                                                                   ; +0x26, 0x18006b266\nmov     rcx, [rcx+2A0h]; this                                          ; +0x27, 0x18006b267\ntest    rcx, rcx                                                       ; +0x2e, 0x18006b26e\njz      short loc_18006B296                                            ; +0x31, 0x18006b271\ncall    ?isDirty@CCCamera@cocos2d@@QEAA_NXZ; cocos2d::CCCamera::isDirty(void) ; +0x33, 0x18006b273\ntest    al, al                                                         ; +0x38, 0x18006b278\njnz     short loc_18006B296                                            ; +0x3a, 0x18006b27a\nmov     dword ptr [rbx+2A8h], 302h                                     ; +0x3c, 0x18006b27c\nmov     dword ptr [rbx+2ACh], 303h                                     ; +0x46, 0x18006b286\nadd     rsp, 20h                                                       ; +0x50, 0x18006b290\npop     rbx                                                            ; +0x54, 0x18006b294\nretn                                                                   ; +0x55, 0x18006b295\nmov     dword ptr [rbx+2A8h], 1                                        ; +0x56, 0x18006b296\nmov     dword ptr [rbx+2ACh], 303h                                     ; +0x60, 0x18006b2a0\nadd     rsp, 20h                                                       ; +0x6a, 0x18006b2aa\npop     rbx                                                            ; +0x6e, 0x18006b2ae\nretn                                                                   ; +0x6f, 0x18006b2af", "xrefs": ["<???> @ 0x180101128", "<???> @ 0x1801017a8", "<???> @ 0x180101e28", "<???> @ 0x1801024a8", "<???> @ 0x180102b28", "<???> @ 0x1801031a8", "<???> @ 0x180103828", "<???> @ 0x180103ea8", "<???> @ 0x180104528", "<???> @ 0x180104ba8", "<???> @ 0x180105228", "<???> @ 0x1801058f8", "<???> @ 0x180106580", "<???> @ 0x18014cf68", "<???> @ 0x1801bdf84"], "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"}