{"type": "func", "start": 6442889904, "end": 6442889956, "name": "cocos2d::CCParticleSystem::setBlendFunc", "pseudocode": "// \n// cocos2d::CCParticleSystem::setBlendFunc from 0x18006b2b0 to 0x18006b2e4 (52 bytes)\n// \n// 15 xrefs:\n// > <???> @ 0x180101288\n// > <???> @ 0x180101908\n// > <???> @ 0x180101f88\n// > <???> @ 0x180102608\n// > <???> @ 0x180102c88\n// > <???> @ 0x180103308\n// > <???> @ 0x180103988\n// > <???> @ 0x180104008\n// > <???> @ 0x180104688\n// > <???> @ 0x180104d08\n// > <???> @ 0x180105388\n// > <???> @ 0x180105a50\n// > <???> @ 0x1801066d8\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\n__int64 __fastcall cocos2d::CCParticleSystem::setBlendFunc(__int64 a1, unsigned __int64 a2)\n{\n  __int64 result; // rax\n  __int64 v3; // rax\n\n  if ( *(_DWORD *)(a1 + 360) != (_DWORD)a2 || (result = HIDWORD(a2), *(_DWORD *)(a1 + 364) != HIDWORD(a2)) )\n  {\n    v3 = *(_QWORD *)(a1 - 320);\n    *(_QWORD *)(a1 + 360) = a2;\n    return (*(__int64 (__fastcall **)(__int64))(v3 + 1600))(a1 - 320);\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCParticleSystem::setBlendFunc from 0x18006b2b0 to 0x18006b2e4 (52 bytes)\n; \n; 15 xrefs:\n; > <???> @ 0x180101288\n; > <???> @ 0x180101908\n; > <???> @ 0x180101f88\n; > <???> @ 0x180102608\n; > <???> @ 0x180102c88\n; > <???> @ 0x180103308\n; > <???> @ 0x180103988\n; > <???> @ 0x180104008\n; > <???> @ 0x180104688\n; > <???> @ 0x180104d08\n; > <???> @ 0x180105388\n; > <???> @ 0x180105a50\n; > <???> @ 0x1801066d8\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; \ncmp     [rcx+168h], edx                                                ; +0x0, 0x18006b2b0\njnz     short loc_18006B2C7                                            ; +0x6, 0x18006b2b6\nmov     rax, rdx                                                       ; +0x8, 0x18006b2b8\nshr     rax, 20h                                                       ; +0xb, 0x18006b2bb\ncmp     [rcx+16Ch], eax                                                ; +0xf, 0x18006b2bf\njz      short locret_18006B2E3                                         ; +0x15, 0x18006b2c5\nmov     rax, [rcx-140h]                                                ; +0x17, 0x18006b2c7\nmov     [rcx+168h], rdx                                                ; +0x1e, 0x18006b2ce\nadd     rcx, 0FFFFFFFFFFFFFEC0h                                        ; +0x25, 0x18006b2d5\njmp     qword ptr [rax+640h]                                           ; +0x2c, 0x18006b2dc\nretn                                                                   ; +0x33, 0x18006b2e3", "xrefs": ["<???> @ 0x180101288", "<???> @ 0x180101908", "<???> @ 0x180101f88", "<???> @ 0x180102608", "<???> @ 0x180102c88", "<???> @ 0x180103308", "<???> @ 0x180103988", "<???> @ 0x180104008", "<???> @ 0x180104688", "<???> @ 0x180104d08", "<???> @ 0x180105388", "<???> @ 0x180105a50", "<???> @ 0x1801066d8", "<???> @ 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"}