{"type": "func", "start": 6442893920, "end": 6442894027, "name": "cocos2d::CCParticleSystem::updateBlendFunc", "pseudocode": "// \n// cocos2d::CCParticleSystem::updateBlendFunc from 0x18006c260 to 0x18006c2cb (107 bytes)\n// \n// 15 xrefs:\n// > <???> @ 0x180101270\n// > <???> @ 0x1801018f0\n// > <???> @ 0x180101f70\n// > <???> @ 0x1801025f0\n// > <???> @ 0x180102c70\n// > <???> @ 0x1801032f0\n// > <???> @ 0x180103970\n// > <???> @ 0x180103ff0\n// > <???> @ 0x180104670\n// > <???> @ 0x180104cf0\n// > <???> @ 0x180105370\n// > <???> @ 0x180105a40\n// > <???> @ 0x1801066c8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bdfb4\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:55 +0000\n// \n\nvoid __fastcall cocos2d::CCParticleSystem::updateBlendFunc(cocos2d::CCParticleSystem *this)\n{\n  cocos2d::CCCamera *v2; // rcx\n  char isDirty; // al\n  bool v4; // zf\n\n  v2 = *((cocos2d::CCCamera **)this + 84);\n  if ( v2 )\n  {\n    isDirty = cocos2d::CCCamera::isDirty(v2);\n    v4 = *((_QWORD *)this + 84) == 0;\n    *((_BYTE *)this + 688) = 0;\n    if ( !v4 && *((_DWORD *)this + 170) == 1 && *((_DWORD *)this + 171) == 771 )\n    {\n      if ( isDirty )\n      {\n        *((_BYTE *)this + 688) = 1;\n      }\n      else\n      {\n        *((_DWORD *)this + 170) = 770;\n        *((_DWORD *)this + 171) = 771;\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCParticleSystem::updateBlendFunc from 0x18006c260 to 0x18006c2cb (107 bytes)\n; \n; 15 xrefs:\n; > <???> @ 0x180101270\n; > <???> @ 0x1801018f0\n; > <???> @ 0x180101f70\n; > <???> @ 0x1801025f0\n; > <???> @ 0x180102c70\n; > <???> @ 0x1801032f0\n; > <???> @ 0x180103970\n; > <???> @ 0x180103ff0\n; > <???> @ 0x180104670\n; > <???> @ 0x180104cf0\n; > <???> @ 0x180105370\n; > <???> @ 0x180105a40\n; > <???> @ 0x1801066c8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bdfb4\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:55 +0000\n; \npush    rbx                                                            ; +0x0, 0x18006c260\nsub     rsp, 20h                                                       ; +0x2, 0x18006c262\nmov     rbx, rcx                                                       ; +0x6, 0x18006c266\nmov     rcx, [rcx+2A0h]; this                                          ; +0x9, 0x18006c269\ntest    rcx, rcx                                                       ; +0x10, 0x18006c270\njz      short loc_18006C2C5                                            ; +0x13, 0x18006c273\ncall    ?isDirty@CCCamera@cocos2d@@QEAA_NXZ; cocos2d::CCCamera::isDirty(void) ; +0x15, 0x18006c275\ncmp     qword ptr [rbx+2A0h], 0                                        ; +0x1a, 0x18006c27a\nmov     byte ptr [rbx+2B0h], 0                                         ; +0x22, 0x18006c282\njz      short loc_18006C2C5                                            ; +0x29, 0x18006c289\ncmp     dword ptr [rbx+2A8h], 1                                        ; +0x2b, 0x18006c28b\njnz     short loc_18006C2C5                                            ; +0x32, 0x18006c292\ncmp     dword ptr [rbx+2ACh], 303h                                     ; +0x34, 0x18006c294\njnz     short loc_18006C2C5                                            ; +0x3e, 0x18006c29e\ntest    al, al                                                         ; +0x40, 0x18006c2a0\njz      short loc_18006C2B1                                            ; +0x42, 0x18006c2a2\nmov     byte ptr [rbx+2B0h], 1                                         ; +0x44, 0x18006c2a4\nadd     rsp, 20h                                                       ; +0x4b, 0x18006c2ab\npop     rbx                                                            ; +0x4f, 0x18006c2af\nretn                                                                   ; +0x50, 0x18006c2b0\nmov     dword ptr [rbx+2A8h], 302h                                     ; +0x51, 0x18006c2b1\nmov     dword ptr [rbx+2ACh], 303h                                     ; +0x5b, 0x18006c2bb\nadd     rsp, 20h                                                       ; +0x65, 0x18006c2c5\npop     rbx                                                            ; +0x69, 0x18006c2c9\nretn                                                                   ; +0x6a, 0x18006c2ca", "xrefs": ["<???> @ 0x180101270", "<???> @ 0x1801018f0", "<???> @ 0x180101f70", "<???> @ 0x1801025f0", "<???> @ 0x180102c70", "<???> @ 0x1801032f0", "<???> @ 0x180103970", "<???> @ 0x180103ff0", "<???> @ 0x180104670", "<???> @ 0x180104cf0", "<???> @ 0x180105370", "<???> @ 0x180105a40", "<???> @ 0x1801066c8", "<???> @ 0x18014cf68", "<???> @ 0x1801bdfb4"], "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"}