//
// cocos2d::CCClippingNode::setStencil from 0x1007fe640 to 0x1007fe67b (59 bytes)
//
// 0 xrefs:
//
// 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 12:36:35 +0000
//
void __fastcall cocos2d::CCClippingNode::setStencil(__int64 a1, __int64 a2)
{
_DWORD *v3; // rdi
v3 = *(_DWORD **)(a1 + 320);
if ( v3 )
cocos2d::CCObject::release(v3);
*(_QWORD *)(a1 + 320) = a2;
if ( a2 )
cocos2d::CCObject::retain(a2);
}