//
// sub_1402B7090 from 0x1402b7090 to 0x1402b7163 (211 bytes)
//
// 3 xrefs:
// > sub_1402B7C64 @ 0x1402b7c6b
// > ??> @ 0x14057f5d0
// > ??> @ 0x1406d2528
//
// 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
cocos2d::CCLayerColor *__fastcall sub_1402B7090(cocos2d::CCLayerColor *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
Block->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayerColor_vtbl *)&GJSongBrowser::`vftable';
Block->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&GJSongBrowser::`vftable';
Block->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&GJSongBrowser::`vftable';
Block->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&GJSongBrowser::`vftable';
Block->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&GJSongBrowser::`vftable';
Block->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&GJSongBrowser::`vftable';
Block->cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&GJSongBrowser::`vftable';
Block->cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&GJSongBrowser::`vftable';
*(_QWORD *)&Block[1].m_fScaleX = &GJSongBrowser::`vftable';
*(_QWORD *)&Block[1].m_fVertexZ = &GJSongBrowser::`vftable';
v4 = *(cocos2d::CCObject **)&Block[1].m_sAdditionalTransform.d;
if ( v4 )
cocos2d::CCObject::release(v4);
GJDropDownLayer::dGJDropDownLayer(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}