//
// cocos2d::CCLayerColor::create from 0x7d7efa to 0x7d7f40 (70 bytes)
//
// 13 xrefs:
// > BonusDropdown::init @ 0x3c016c
// > CCScrollLayerExt::CCScrollLayerExt @ 0x3c876e
// > CCScrollLayerExt::CCScrollLayerExt @ 0x3c8846
// > TableViewCell::TableViewCell @ 0x3cacb2
// > FLAlertLayer::init @ 0x3cbcbc
// > FLAlertLayer::init @ 0x3cbd2e
// > SlideInLayer::init @ 0x3da784
// > CCTextInputMenu::init @ 0x3dbd3a
// > GJThreadCell::loadFromThread @ 0x42b7e2
// > AchievementBar::init @ 0x53712a
// > FriendsProfilePage::mountVirtualRow @ 0x5f354c
// > InvitesPopup::buildRows @ 0x758e52
// > InvitesPopup::buildRows @ 0x7598ca
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:41 +0000
//
cocos2d::CCLayerColor *__fastcall cocos2d::CCLayerColor::create(int a1, int a2, int a3)
{
cocos2d::CCLayerColor *v6; // r4
float v7; // r1
float v8; // r2
float v9; // r3
v6 = (cocos2d::CCLayerColor *)operator new(0x1B8u);
cocos2d::CCLayerColor::CCLayerColor(v6, v7, v8, v9);
if ( (*(int (__fastcall **)(cocos2d::CCLayerColor *, int, int, int))(*(_DWORD *)v6 + 632))(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayerColor *))(*(_DWORD *)v6 + 8))(v6);
return nullptr;
}
}