//
// cocos2d::CCDrawNode::create from 0x100041e30 to 0x100041e90 (96 bytes)
//
// 2 xrefs:
// > PlayLayer::init @ 0x100115c18
// > LevelEditorLayer::init @ 0x100357360
//
// 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::CCDrawNode *__fastcall cocos2d::CCDrawNode::create()
{
cocos2d::CCDrawNode *v0; // x19
v0 = (cocos2d::CCDrawNode *)operator new(0x1A0u);
cocos2d::CCDrawNode::CCDrawNode((__int64)v0);
if ( ((unsigned int (__fastcall *)(cocos2d::CCDrawNode *))v0->init)(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
((void (__fastcall *)(cocos2d::CCDrawNode *))v0->~CCDrawNode_0)(v0);
return nullptr;
}
return v0;
}