//
// ShaderLayer::ShaderLayer from 0x1003d2020 to 0x1003d2115 (245 bytes)
//
// 1 xrefs:
// > ShaderLayer::create @ 0x1003ca637
//
// 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
//
ShaderLayer *__fastcall ShaderLayer::ShaderLayer(ShaderLayer *a1)
{
ShaderLayer *result; // rax
cocos2d::CCLayer::CCLayer(a1);
a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ShaderLayer_vtbl *)off_10092EF00;
a1->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10092F380;
a1->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10092F3F0;
a1->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10092F408;
a1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_10092F428;
a1->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10092F448;
sub_1000CAA40((__int64)&a1->m_state);
a1->m_timesyncShaderActions = 0;
a1->m_gameLayer = nullptr;
*(_OWORD *)&a1->m_shader = 0;
*(_OWORD *)((char *)&a1->m_renderTexture + 2) = 0;
sub_10028CC30(&a1->m_savedCameraPosition);
*(_QWORD *)&a1->m_savedCameraRotation = 0x3F80000000000000LL;
a1->m_scaleFactor = 1.0;
sub_10028CF90(&a1->m_screenSize);
sub_10028CF90(&a1->m_textureContentSize);
sub_10028CF90(&a1->m_targetTextureSize);
sub_10028CF90(&a1->m_targetTextureSizeExtra);
return result;
}