{"type": "func", "start": 6442851744, "end": 6442851827, "name": "cocos2d::CCParticleBatchNode::setTexture", "pseudocode": "// \n// cocos2d::CCParticleBatchNode::setTexture from 0x180061da0 to 0x180061df3 (83 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800fa418\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3720\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\nvoid __fastcall cocos2d::CCParticleBatchNode::setTexture(cocos2d::CCParticleBatchNode *this, cocos2d::CCCamera *a2)\n{\n  (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&this->m_uID + 96LL))(*(_QWORD *)&this->m_uID);\n  if ( a2 && !cocos2d::CCCamera::isDirty(a2) && this->m_nTag == 1 && this->m_uReference == 771 )\n  {\n    this->m_nTag = 770;\n    this->m_uReference = 771;\n  }\n}", "assembly": "; \n; cocos2d::CCParticleBatchNode::setTexture from 0x180061da0 to 0x180061df3 (83 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800fa418\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3720\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180061da0\npush    rdi                                                            ; +0x5, 0x180061da5\nsub     rsp, 20h                                                       ; +0x6, 0x180061da6\nmov     rbx, rcx                                                       ; +0xa, 0x180061daa\nmov     rdi, rdx                                                       ; +0xd, 0x180061dad\nmov     rcx, [rcx+8]                                                   ; +0x10, 0x180061db0\nmov     rax, [rcx]                                                     ; +0x14, 0x180061db4\ncall    qword ptr [rax+60h]                                            ; +0x17, 0x180061db7\ntest    rdi, rdi                                                       ; +0x1a, 0x180061dba\njz      short loc_180061DE8                                            ; +0x1d, 0x180061dbd\nmov     rcx, rdi; this                                                 ; +0x1f, 0x180061dbf\ncall    ?isDirty@CCCamera@cocos2d@@QEAA_NXZ; cocos2d::CCCamera::isDirty(void) ; +0x22, 0x180061dc2\ntest    al, al                                                         ; +0x27, 0x180061dc7\njnz     short loc_180061DE8                                            ; +0x29, 0x180061dc9\ncmp     dword ptr [rbx+10h], 1                                         ; +0x2b, 0x180061dcb\njnz     short loc_180061DE8                                            ; +0x2f, 0x180061dcf\ncmp     dword ptr [rbx+14h], 303h                                      ; +0x31, 0x180061dd1\njnz     short loc_180061DE8                                            ; +0x38, 0x180061dd8\nmov     dword ptr [rbx+10h], 302h                                      ; +0x3a, 0x180061dda\nmov     dword ptr [rbx+14h], 303h                                      ; +0x41, 0x180061de1\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x48, 0x180061de8\nadd     rsp, 20h                                                       ; +0x4d, 0x180061ded\npop     rdi                                                            ; +0x51, 0x180061df1\nretn                                                                   ; +0x52, 0x180061df2", "xrefs": ["<???> @ 0x1800fa418", "<???> @ 0x1801438a8", "<???> @ 0x1801b3720"], "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"}