// // cocos2d::CCLayerGradient::create from 0x18004fa20 to 0x18004fa95 (117 bytes) // // 3 xrefs: // > @ 0x1801438a8 // > @ 0x1801b1e54 // > @ 0x1801b1e60 // // 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::CCLayerGradient *__fastcall cocos2d::CCLayerGradient::create() { cocos2d::CCLayerGradient *v0; // rax cocos2d::CCLayerGradient *v1; // rbx cocos2d::CCLayerGradient *v2; // rbx v0 = (cocos2d::CCLayerGradient *)operator new(0x238u); v1 = v0; if ( v0 ) { memset(v0, 0, sizeof(cocos2d::CCLayerGradient)); v2 = cocos2d::CCLayerGradient::CCLayerGradient(v1); } else { v2 = nullptr; } if ( v2 ) { if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCLayerGradient *))v2->init)(v2) ) { cocos2d::CCObject::autorelease(v2); return v2; } ((void (__fastcall *)(cocos2d::CCLayerGradient *, __int64))v2->~CCLayerGradient)(v2, 1); return nullptr; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source