{"type": "func", "start": 6442881328, "end": 6442881376, "name": "cocos2d::CCParticleSystem::setBlendFunc", "pseudocode": "// \n// cocos2d::CCParticleSystem::setBlendFunc from 0x180069130 to 0x180069160 (48 bytes)\n// \n// 15 xrefs:\n// > <???> @ 0x1800fad48\n// > <???> @ 0x1800fb3b8\n// > <???> @ 0x1800fba28\n// > <???> @ 0x1800fc098\n// > <???> @ 0x1800fc708\n// > <???> @ 0x1800fcd78\n// > <???> @ 0x1800fd3e8\n// > <???> @ 0x1800fda58\n// > <???> @ 0x1800fe0c8\n// > <???> @ 0x1800fe738\n// > <???> @ 0x1800feda8\n// > <???> @ 0x1800ff5e8\n// > <???> @ 0x180100088\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3c3c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall cocos2d::CCParticleSystem::setBlendFunc(\n        cocos2d::CCParticleSystem *this,\n        struct cocos2d::_ccBlendFunc a2)\n{\n  __int64 result; // rax\n\n  if ( LODWORD(this->m_fElapsed) != a2.src || (result = a2.dst, LODWORD(this->modeA.gravity.x) != a2.dst) )\n  {\n    *(struct cocos2d::_ccBlendFunc *)&this->m_fElapsed = a2;\n    return (*(__int64 (__fastcall **)(char *))(*((_QWORD *)this - 40) + 1584LL))((char *)this - 320);\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCParticleSystem::setBlendFunc from 0x180069130 to 0x180069160 (48 bytes)\n; \n; 15 xrefs:\n; > <???> @ 0x1800fad48\n; > <???> @ 0x1800fb3b8\n; > <???> @ 0x1800fba28\n; > <???> @ 0x1800fc098\n; > <???> @ 0x1800fc708\n; > <???> @ 0x1800fcd78\n; > <???> @ 0x1800fd3e8\n; > <???> @ 0x1800fda58\n; > <???> @ 0x1800fe0c8\n; > <???> @ 0x1800fe738\n; > <???> @ 0x1800feda8\n; > <???> @ 0x1800ff5e8\n; > <???> @ 0x180100088\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3c3c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ncmp     [rcx+168h], edx                                                ; +0x0, 0x180069130\njnz     short loc_180069147                                            ; +0x6, 0x180069136\nmov     rax, rdx                                                       ; +0x8, 0x180069138\nshr     rax, 20h                                                       ; +0xb, 0x18006913b\ncmp     [rcx+16Ch], eax                                                ; +0xf, 0x18006913f\njz      short locret_18006915F                                         ; +0x15, 0x180069145\nmov     [rcx+168h], rdx                                                ; +0x17, 0x180069147\nadd     rcx, 0FFFFFFFFFFFFFEC0h                                        ; +0x1e, 0x18006914e\nmov     rax, [rcx]                                                     ; +0x25, 0x180069155\njmp     qword ptr [rax+630h]                                           ; +0x28, 0x180069158\nretn                                                                   ; +0x2f, 0x18006915f", "xrefs": ["<???> @ 0x1800fad48", "<???> @ 0x1800fb3b8", "<???> @ 0x1800fba28", "<???> @ 0x1800fc098", "<???> @ 0x1800fc708", "<???> @ 0x1800fcd78", "<???> @ 0x1800fd3e8", "<???> @ 0x1800fda58", "<???> @ 0x1800fe0c8", "<???> @ 0x1800fe738", "<???> @ 0x1800feda8", "<???> @ 0x1800ff5e8", "<???> @ 0x180100088", "<???> @ 0x1801438a8", "<???> @ 0x1801b3c3c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}