//
// cocos2d::CCClippingNode::setStencil from 0x18005c530 to 0x18005c570 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f9fd0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b3084
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// 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);
}