// // cocos2d::CCLayerGradient::create from 0x180051840 to 0x1800518b8 (120 bytes) // // 3 xrefs: // > @ 0x18014cf68 // > @ 0x1801bc0e8 // > @ 0x1801bc0f4 // // 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 11:21:45 +0000 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCLayerGradient *__fastcall cocos2d::CCLayerGradient::create() { cocos2d::CCLayerGradient *v0; // rax cocos2d::CCLayerGradient *v1; // rbx cocos2d::CCObject *v2; // rbx v0 = (cocos2d::CCLayerGradient *)sub_1800E4AC0(0x238u); v1 = v0; if ( v0 ) { memset(v0, 0, 0x238u); v2 = cocos2d::CCLayerGradient::CCLayerGradient(v1); } else { v2 = nullptr; } if ( v2 ) { if ( (*(unsigned __int8 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v2 + 72LL))(v2) ) { cocos2d::CCObject::autorelease(v2); return v2; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1); return nullptr; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source