//
// cocos2d::CCLayerColor::initWithColor from 0x7d6eb4 to 0x7d6ef4 (64 bytes)
//
// 58 xrefs:
// > CCBlockLayer::init @ 0x3c5a88
// > FLAlertLayer::init @ 0x3cb8da
// > FLAlertLayer::init @ 0x3cb9e4
// > LoadingCircle::init @ 0x3d48ac
// > SlideInLayer::init @ 0x3da542
// > ScrollingLayer::init @ 0x3e72be
// > UILayer::init @ 0x3fd8e6
// > TutorialPopup::init @ 0x41e8ce
// > MoreSearchLayer::init @ 0x4970b4
// > UploadPopup::init @ 0x4a3856
// > ShareLevelLayer::init @ 0x4a3de8
// > LevelBrowserLayer::init @ 0x4a6cdc
// > AudioEffectsLayer::init @ 0x50a644
// > GJDropDownLayer::init @ 0x52bd6e
// > MoreVideoOptionsLayer::init @ 0x52ed88
// > VideoOptionsLayer::init @ 0x530ccc
// > MoreOptionsLayer::init @ 0x532b90
// > TutorialLayer::init @ 0x538ed6
// > CustomSongLayer::init @ 0x57c35c
// > AccountLoginLayer::init @ 0x58743e
// > SelectFontLayer::init @ 0x5d5ee6
// > UpdateAccountSettingsPopup::init @ 0x5d8ade
// > UploadActionPopup::init @ 0x5d97b2
// > SetIDPopup::init @ 0x5da694
// > SetTextPopup::init @ 0x5de202
// > GJPromoPopup::init @ 0x5dee2c
// > FriendRequestPopup::init @ 0x5df0c8
// > GJWriteMessagePopup::init @ 0x5df722
// > GJMessagePopup::init @ 0x5e07aa
// > SocialLinksPopup::init @ 0x5e26e0
// > GJAccountSettingsLayer::init @ 0x5e2ed8
// > DailyLevelPage::init @ 0x6082c4
// > DialogLayer::init @ 0x609b34
// > PurchaseItemPopup::init @ 0x613cb0
// > RewardsPage::init @ 0x617446
// > SetGroupIDLayer::init @ 0x63d0a4
// > SelectArtLayer::init @ 0x6a9692
// > SelectSettingLayer::init @ 0x6aa6a4
// > SelectSFXSortLayer::init @ 0x6c4ca0
// > GJPathRewardPopup::init @ 0x6d1c84
// > GJPathsLayer::init @ 0x6d2b6a
// > GJPathPage::init @ 0x6d2f48
// > SelectListIconLayer::init @ 0x6d51a0
// > UploadListPopup::init @ 0x6d6d14
// > ShareListLayer::init @ 0x6d741c
// > LevelListLayer::init @ 0x6d8470
// > PagedListPopup::initFrame @ 0x72e5da
// > SFXFolderPickerPopup::init @ 0x730328
// > MessageThreadsPage::init @ 0x75009c
// > LevelBadgePopup::init @ 0x7523c2
// > NewThreadPopup::init @ 0x75618e
// > ThreadRequestPopup::init @ 0x757c58
// > ThreadViewPopup::init @ 0x75c10a
// > SongUsagePopup::init @ 0x760330
// > DeathTrackerPopup::init @ 0x775a48
// > IDNameBrowserPopup::init @ 0x792406
// > SelectFontLayer2::init @ 0x7a1bb0
// > cocos2d::CCLayerGradient::initWithColor @ 0x7d70f0
//
// 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:40 +0000
//
int __fastcall cocos2d::CCLayerColor::initWithColor(cocos2d::CCDirector *a1, int a2)
{
int v4; // r0
_DWORD v6[2]; // [sp+4h] [bp-10h] BYREF
v4 = cocos2d::CCDirector::sharedDirector(a1);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v6, v4);
(*(void (__fastcall **)(cocos2d::CCDirector *, int, _DWORD, _DWORD))(*(_DWORD *)a1 + 632))(a1, a2, v6[0], v6[1]);
return 1;
}