//
// cocos2d::CCClippingNode::init from 0x1007fe1a0 to 0x1007fe20b (107 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b9dda0
//
// 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
//
char __fastcall cocos2d::CCClippingNode::init(__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);
*(_DWORD *)(a1 + 328) = 1065353216;
*(_BYTE *)(a1 + 332) = 0;
if ( !byte_100BE6908 )
{
glGetIntegerv(0xD57u, ¶ms);
byte_100BE6908 = 1;
}
return 1;
}