// // cocos2d::CCLayer::create from 0x18004f700 to 0x18004f75f (95 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b1e18 // // 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 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCLayer *__fastcall cocos2d::CCLayer::create() { cocos2d::CCLayer *v0; // rax cocos2d::CCLayer *v1; // rbx v0 = (cocos2d::CCLayer *)operator new(0x198u); if ( v0 ) v1 = cocos2d::CCLayer::CCLayer(v0); else v1 = nullptr; if ( v1 ) { if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCLayer *))v1->init)(v1) ) { cocos2d::CCObject::autorelease(v1); return v1; } ((void (__fastcall *)(cocos2d::CCLayer *, __int64))v1->~CCLayer)(v1, 1); } return nullptr; }