//
// cocos2d::CCLayerColor::create_1 from 0x1004abec0 to 0x1004ac059 (409 bytes)
//
// 18 xrefs:
// > PlayLayer::showNewBest @ 0x1000835f5
// > cocos2d::CCTransitionFade::onEnter @ 0x1000a77a8
// > cocos2d::CCTransitionCrossFade::onEnter @ 0x1000a7b20
// > LevelAreaLayer::fadeInsideTower @ 0x100265e19
// > LevelAreaInnerLayer::onDoor @ 0x1002671e2
// > GJPathPage::playUnlockAnimation @ 0x1002ebc29
// > GJPathPage::unlockAnimationStep3 @ 0x1002ecd4f
// > GJShopLayer::dialogClosed @ 0x100312844
// > SecretLayer5::showSuccessAnimation @ 0x1004714dc
// > SecretLayer3::dialogClosed @ 0x1004a1134
// > SecretLayer3::dialogClosed @ 0x1004a11af
// > CCLightFlash::showFlash @ 0x100502ddd
// > ScrollingLayer::create @ 0x1007ff5d4
// > ScrollingLayer::init @ 0x1007ff6ba
// > ScrollableContentLayer::setContentHeight @ 0x10096b305
// > ScrollableContentLayer::ensureScrollThumb @ 0x10096b43e
// > ScrollableContentLayer::setViewSize @ 0x10096b585
// > ScrollableContentLayer::reloadVirtualRows @ 0x10096d935
//
// 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 12:30:57 +0000
//
_QWORD *__fastcall cocos2d::CCLayerColor::create_1(__int64 a1)
{
_QWORD *v1; // rbx
__int64 v2; // rax
_QWORD v4[3]; // [rsp+8h] [rbp-18h] BYREF
v1 = operator new(0x220u);
cocos2d::CCNode::CCNode((__int64)v1);
*v1 = off_100B53A90;
v1[40] = off_100B53F20;
v1[41] = &off_100B53F90;
v1[42] = off_100B53FA8;
v1[43] = off_100B53FC8;
v1[44] = off_100B53FF0;
*((_DWORD *)v1 + 90) = 0;
*((_BYTE *)v1 + 364) = 0;
*((_OWORD *)v1 + 23) = 0;
*((_OWORD *)v1 + 24) = 0;
*((_DWORD *)v1 + 100) = 0;
*((_BYTE *)v1 + 287) = 1;
sub_100278250((float *)v4, 0.5, 0.5);
(*(void (__fastcall **)(_QWORD *, _QWORD *))(*v1 + 296LL))(v1, v4);
v1[52] = -1;
*((_WORD *)v1 + 212) = 0;
*v1 = off_100B546A0;
v1[40] = off_100B54BC8;
v1[41] = &off_100B54C38;
v1[42] = off_100B54C50;
v1[43] = off_100B54C70;
v1[44] = off_100B54C98;
v1[51] = off_100B54CC8;
v1[54] = off_100B54D48;
v1[67] = 0x30300000001LL;
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v4, v2);
(*(void (__fastcall **)(_QWORD *, __int64, float, float))(*v1 + 1264LL))(v1, a1, *(float *)v4, *((float *)v4 + 1));
cocos2d::CCObject::autorelease((__int64)v1);
return v1;
}