//
// sub_1403D2450 from 0x1403d2450 to 0x1403d2508 (184 bytes)
//
// 3 xrefs:
// > sub_1403DC9A4 @ 0x1403dc9ab
// > ??> @ 0x1405cf7d8
// > ??> @ 0x1406d7ca0
//
// 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
//
cocos2d::CCLayer *__fastcall sub_1403D2450(cocos2d::CCLayer *Block, char a2)
{
cocos2d::CCObject *v4; // rcx
Block->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayer_vtbl *)&SecretRewardsLayer::`vftable';
Block->cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SecretRewardsLayer::`vftable';
Block->cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SecretRewardsLayer::`vftable';
Block->cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SecretRewardsLayer::`vftable';
Block->cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SecretRewardsLayer::`vftable';
Block->cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SecretRewardsLayer::`vftable';
Block[1].cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayer_vtbl *)&SecretRewardsLayer::`vftable';
*(_QWORD *)&Block[1].m_uID = &SecretRewardsLayer::`vftable';
v4 = *(cocos2d::CCObject **)&Block[1].m_fRotationX;
if ( v4 )
cocos2d::CCObject::release(v4);
cocos2d::CCLayer::~CCLayer(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}