//
// cocos2d::CCLayerColor::create from 0x1001c81e0 to 0x1001c82a8 (200 bytes)
//
// 10 xrefs:
// > TableViewCell::TableViewCell @ 0x100037838
// > GJThreadCell::loadFromThread @ 0x100130acc
// > FriendsProfilePage::mountVirtualRow @ 0x100272904
// > sub_1003085CC @ 0x10030863c
// > FLAlertLayer::init @ 0x10034afb4
// > FLAlertLayer::init @ 0x10034b020
// > CCScrollLayerExt::CCScrollLayerExt @ 0x10039d39c
// > CCScrollLayerExt::CCScrollLayerExt @ 0x10039d498
// > InvitesPopup::buildRows @ 0x10050f070
// > InvitesPopup::buildRows @ 0x10050fcf4
//
// 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(__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_1(v2, a1) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(_WORD *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}