// // cocos2d::CCLayerGradient::create from 0x1800517a0 to 0x180051840 (160 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801bc0e8 // // 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( const struct cocos2d::_ccColor4B *a1, const struct cocos2d::_ccColor4B *a2, const struct cocos2d::CCPoint *a3) { cocos2d::CCLayerGradient *v6; // rax cocos2d::CCLayerGradient *v7; // rbx cocos2d::CCObject *v8; // rbx v6 = (cocos2d::CCLayerGradient *)sub_1800E4AC0(0x238u); v7 = v6; if ( v6 ) { memset(v6, 0, 0x238u); v8 = cocos2d::CCLayerGradient::CCLayerGradient(v7); } else { v8 = nullptr; } if ( v8 ) { if ( (*(unsigned __int8 (__fastcall **)(cocos2d::CCObject *, const struct cocos2d::_ccColor4B *, const struct cocos2d::_ccColor4B *, const struct cocos2d::CCPoint *))(*(_QWORD *)v8 + 1056LL))( v8, a1, a2, a3) ) { cocos2d::CCObject::autorelease(v8); return v8; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v8 + 8LL))(v8, 1); } return nullptr; }