{"type": "func", "start": 6442837360, "end": 6442837424, "name": "cocos2d::CCClippingNode::setStencil", "pseudocode": "// \n// cocos2d::CCClippingNode::setStencil from 0x18005e570 to 0x18005e5b0 (64 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801004e8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd33c\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:50 +0000\n// \n\n// Alternative name is '?setSprite@CCRenderTexture@cocos2d@@UEAAXPEAVCCSprite@2@@Z'\nvoid __fastcall cocos2d::CCClippingNode::setStencil(cocos2d::CCClippingNode *this, struct cocos2d::CCNode *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  v4 = *((cocos2d::CCObject **)this + 40);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  *((_QWORD *)this + 40) = a2;\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n}", "assembly": "; \n; cocos2d::CCClippingNode::setStencil from 0x18005e570 to 0x18005e5b0 (64 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801004e8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd33c\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:50 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18005e570\npush    rdi                                                            ; +0x5, 0x18005e575\nsub     rsp, 20h                                                       ; +0x6, 0x18005e576\nmov     rdi, rcx                                                       ; +0xa, 0x18005e57a\nmov     rbx, rdx                                                       ; +0xd, 0x18005e57d\nmov     rcx, [rcx+140h]; this                                          ; +0x10, 0x18005e580\ntest    rcx, rcx                                                       ; +0x17, 0x18005e587\njz      short loc_18005E591                                            ; +0x1a, 0x18005e58a\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1c, 0x18005e58c\nmov     [rdi+140h], rbx                                                ; +0x21, 0x18005e591\ntest    rbx, rbx                                                       ; +0x28, 0x18005e598\njz      short loc_18005E5A5                                            ; +0x2b, 0x18005e59b\nmov     rcx, rbx; this                                                 ; +0x2d, 0x18005e59d\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x30, 0x18005e5a0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x18005e5a5\nadd     rsp, 20h                                                       ; +0x3a, 0x18005e5aa\npop     rdi                                                            ; +0x3e, 0x18005e5ae\nretn                                                                   ; +0x3f, 0x18005e5af", "xrefs": ["<???> @ 0x1801004e8", "<???> @ 0x18014cf68", "<???> @ 0x1801bd33c"], "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"}