{"type": "func", "start": 6442860992, "end": 6442861075, "name": "cocos2d::CCParticleBatchNode::setTexture", "pseudocode": "// \n// cocos2d::CCParticleBatchNode::setTexture from 0x1800641c0 to 0x180064213 (83 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180100940\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bda74\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:52 +0000\n// \n\nvoid __fastcall cocos2d::CCParticleBatchNode::setTexture(\n        cocos2d::CCParticleBatchNode *this,\n        struct cocos2d::CCTexture2D *a2)\n{\n  (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 1) + 96LL))(*((_QWORD *)this + 1));\n  if ( a2\n    && !(unsigned __int8)cocos2d::CCCamera::isDirty(a2)\n    && *((_DWORD *)this + 4) == 1\n    && *((_DWORD *)this + 5) == 771 )\n  {\n    *((_DWORD *)this + 4) = 770;\n    *((_DWORD *)this + 5) = 771;\n  }\n}", "assembly": "; \n; cocos2d::CCParticleBatchNode::setTexture from 0x1800641c0 to 0x180064213 (83 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180100940\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bda74\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:52 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800641c0\npush    rdi                                                            ; +0x5, 0x1800641c5\nsub     rsp, 20h                                                       ; +0x6, 0x1800641c6\nmov     rbx, rcx                                                       ; +0xa, 0x1800641ca\nmov     rdi, rdx                                                       ; +0xd, 0x1800641cd\nmov     rcx, [rcx+8]                                                   ; +0x10, 0x1800641d0\nmov     rax, [rcx]                                                     ; +0x14, 0x1800641d4\ncall    qword ptr [rax+60h]                                            ; +0x17, 0x1800641d7\ntest    rdi, rdi                                                       ; +0x1a, 0x1800641da\njz      short loc_180064208                                            ; +0x1d, 0x1800641dd\nmov     rcx, rdi; this                                                 ; +0x1f, 0x1800641df\ncall    ?isDirty@CCCamera@cocos2d@@QEAA_NXZ; cocos2d::CCCamera::isDirty(void) ; +0x22, 0x1800641e2\ntest    al, al                                                         ; +0x27, 0x1800641e7\njnz     short loc_180064208                                            ; +0x29, 0x1800641e9\ncmp     dword ptr [rbx+10h], 1                                         ; +0x2b, 0x1800641eb\njnz     short loc_180064208                                            ; +0x2f, 0x1800641ef\ncmp     dword ptr [rbx+14h], 303h                                      ; +0x31, 0x1800641f1\njnz     short loc_180064208                                            ; +0x38, 0x1800641f8\nmov     dword ptr [rbx+10h], 302h                                      ; +0x3a, 0x1800641fa\nmov     dword ptr [rbx+14h], 303h                                      ; +0x41, 0x180064201\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x48, 0x180064208\nadd     rsp, 20h                                                       ; +0x4d, 0x18006420d\npop     rdi                                                            ; +0x51, 0x180064211\nretn                                                                   ; +0x52, 0x180064212", "xrefs": ["<???> @ 0x180100940", "<???> @ 0x18014cf68", "<???> @ 0x1801bda74"], "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"}