//
// cocos2d::CCLayerColor::create_1 from 0x1001c82bc to 0x1001c836c (176 bytes)
//
// 12 xrefs:
// > sub_100034C70 @ 0x100034cac
// > SecretLayer5::showSuccessAnimation @ 0x10007e7c4
// > PlayLayer::showNewBest @ 0x100144798
// > GJShopLayer::dialogClosed @ 0x1001cbf40
// > sub_10024E4D4 @ 0x10024e52c
// > cocos2d::CCTransitionFade::onEnter @ 0x1002660e8
// > SecretLayer3::dialogClosed @ 0x1003ae380
// > LevelAreaLayer::fadeInsideTower @ 0x1003e3be4
// > LevelAreaInnerLayer::onDoor @ 0x1003e4a90
// > GJPathPage::playUnlockAnimation @ 0x1004610c4
// > GJPathPage::unlockAnimationStep3 @ 0x100461bbc
// > ScrollableContentLayer::ensureScrollThumb @ 0x100524ab0
//
// This function is hookable on this platform (idp: arm, 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:00:18 +0000
//
_WORD *__fastcall cocos2d::CCLayerColor::create_1(__int64 a1)
{
_WORD *v2; // x19
v2 = operator new(0x220u);
cocos2d::CCLayer::CCLayer((__int64)v2);
v2[212] = 0;
*(_QWORD *)v2 = &off_1008ECCF8;
*((_QWORD *)v2 + 40) = off_1008ED220;
*((_QWORD *)v2 + 41) = &off_1008ED290;
*((_QWORD *)v2 + 42) = off_1008ED2A8;
*((_QWORD *)v2 + 43) = &off_1008ED2C8;
*((_QWORD *)v2 + 44) = off_1008ED2F0;
*((_QWORD *)v2 + 51) = off_1008ED320;
*((_QWORD *)v2 + 52) = -1;
*((_QWORD *)v2 + 54) = off_1008ED3A0;
*((_QWORD *)v2 + 67) = 0x30300000001LL;
if ( (unsigned int)cocos2d::CCLayerColor::initWithColor(v2, a1) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(_WORD *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}