//
// cocos2d::CCLayerColor::create from 0x1004abcf0 to 0x1004abe8f (415 bytes)
//
// 13 xrefs:
// > CCTextInputMenu::init @ 0x100078be3
// > GJThreadCell::loadFromThread @ 0x100233b74
// > SlideInLayer::init @ 0x100279de0
// > CCScrollLayerExt::CCScrollLayerExt @ 0x10041acc6
// > CCScrollLayerExt::CCScrollLayerExt @ 0x10041adec
// > BonusDropdown::init @ 0x10048a4ab
// > FLAlertLayer::init @ 0x1004942f2
// > FLAlertLayer::init @ 0x10049436a
// > AchievementBar::init @ 0x1006f5750
// > TableViewCell::TableViewCell @ 0x100703887
// > FriendsProfilePage::mountVirtualRow @ 0x100736325
// > sub_10094C500 @ 0x10094c5f2
// > sub_10094C500 @ 0x10094caf6
//
// 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(__int64 a1, float a2, float a3)
{
_QWORD *v3; // rbx
float v4; // xmm0_4
float v5; // xmm1_4
float v7; // [rsp+0h] [rbp-20h] BYREF
float v8; // [rsp+8h] [rbp-18h]
float v9; // [rsp+Ch] [rbp-14h]
v8 = a3;
v9 = a2;
v3 = operator new(0x220u);
cocos2d::CCNode::CCNode((__int64)v3);
*v3 = off_100B53A90;
v3[40] = off_100B53F20;
v3[41] = &off_100B53F90;
v3[42] = off_100B53FA8;
v3[43] = off_100B53FC8;
v3[44] = off_100B53FF0;
*((_DWORD *)v3 + 90) = 0;
*((_BYTE *)v3 + 364) = 0;
*((_OWORD *)v3 + 23) = 0;
*((_OWORD *)v3 + 24) = 0;
*((_DWORD *)v3 + 100) = 0;
*((_BYTE *)v3 + 287) = 1;
sub_100278250(&v7, 0.5, 0.5);
(*(void (__fastcall **)(_QWORD *, float *))(*v3 + 296LL))(v3, &v7);
v3[52] = -1;
*((_WORD *)v3 + 212) = 0;
*v3 = off_100B546A0;
v3[40] = off_100B54BC8;
v3[41] = &off_100B54C38;
v3[42] = off_100B54C50;
v3[43] = off_100B54C70;
v3[44] = off_100B54C98;
v3[51] = off_100B54CC8;
v3[54] = off_100B54D48;
v3[67] = 0x30300000001LL;
v4 = v9;
v5 = v8;
if ( (unsigned __int8)cocos2d::CCLayerColor::initWithColor_1(v3, a1) )
{
cocos2d::CCObject::autorelease((__int64)v3);
}
else
{
(*(void (__fastcall **)(_QWORD *, float, float))(*v3 + 16LL))(v3, v4, v5);
return nullptr;
}
return v3;
}