//
// cocos2d::CCClippingNode::create from 0x10071f1b0 to 0x10071f240 (144 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCClippingNode *__fastcall cocos2d::CCClippingNode::create(cocos2d::CCNode *a1)
{
_DWORD *v1; // rbx
v1 = operator new(0x150u);
cocos2d::CCNode::CCNode((__int64)v1);
*(_QWORD *)v1 = off_100989668;
v1[82] = 0;
*((_BYTE *)v1 + 332) = 0;
*((_QWORD *)v1 + 40) = a1;
if ( a1 )
cocos2d::CCObject::retain(a1);
v1[82] = 1065353216;
*((_BYTE *)v1 + 332) = 0;
if ( !byte_1009A3978 )
{
glGetIntegerv(0xD57u, ¶ms);
byte_1009A3978 = 1;
}
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return (cocos2d::CCClippingNode *)v1;
}