//
// cocos2d::CCClippingNode::setStencil from 0x18005e570 to 0x18005e5b0 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x1801004e8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd33c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:50 +0000
//
// Alternative name is '?setSprite@CCRenderTexture@cocos2d@@UEAAXPEAVCCSprite@2@@Z'
void __fastcall cocos2d::CCClippingNode::setStencil(cocos2d::CCClippingNode *this, struct cocos2d::CCNode *a2)
{
cocos2d::CCObject *v4; // rcx
v4 = *((cocos2d::CCObject **)this + 40);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_QWORD *)this + 40) = a2;
if ( a2 )
cocos2d::CCObject::retain(a2);
}