//
// cocos2d::CCLayerColor::initWithColor from 0x1004b2ff0 to 0x1004b3036 (70 bytes)
//
// 280 xrefs:
// > CustomSongLayer::init @ 0x100214cad
// > RewardsPage::init @ 0x10021a24a
// > DailyLevelPage::init @ 0x10023026d
// > SelectArtLayer::init @ 0x10026f9c8
// > SelectSettingLayer::init @ 0x1002709b5
// > ShareLevelLayer::init @ 0x1002801b5
// > UploadPopup::init @ 0x100281ac2
// > SlideInLayer::init @ 0x10028e618
// > SelectFontLayer::init @ 0x100299f52
// > GJAccountSettingsLayer::init @ 0x10029f33c
// > UpdateAccountSettingsPopup::init @ 0x1002a3341
// > UploadActionPopup::init @ 0x1002a4185
// > FriendRequestPopup::init @ 0x1002a4f59
// > GJMessagePopup::init @ 0x1002a6ceb
// > GJWriteMessagePopup::init @ 0x1002a8d98
// > SetIDPopup::init @ 0x1002abb47
// > SetTextPopup::init @ 0x1002aeb97
// > GJPromoPopup::init @ 0x1002b64dc
// > GJPathsLayer::init @ 0x1002fe3f8
// > GJPathPage::init @ 0x1002ff1a9
// > GJPathRewardPopup::init @ 0x100302fad
// > SetGroupIDLayer::init @ 0x100312568
// > PurchaseItemPopup::init @ 0x100327a15
// > LevelListLayer::init @ 0x10035bd05
// > SelectListIconLayer::init @ 0x1003613f2
// > ShareListLayer::init @ 0x100361dd5
// > UploadListPopup::init @ 0x1003638f2
// > DialogLayer::init @ 0x1003c7328
// > SelectSFXSortLayer::init @ 0x1004411d2
// > LevelBrowserLayer::init @ 0x10048b09a
// > AccountLoginLayer::init @ 0x100498e15
// > FLAlertLayer::init @ 0x10049b47c
// > FLAlertLayer::init_1 @ 0x10049beb8
// > AudioEffectsLayer::init @ 0x1004af3c6
// > LoadingCircle::init @ 0x1004bf28d
// > UILayer::init @ 0x1004c7c22
// > TutorialLayer::init @ 0x1004dc70f
// > CCBlockLayer::init @ 0x100517e29
// > TutorialPopup::init @ 0x1005d43a2
// > GJDropDownLayer::init @ 0x1005e80ce
// > MoreSearchLayer::init @ 0x10062d05a
// > ScrollingLayer::create @ 0x100720683
// > ScrollingLayer::init @ 0x100720766
// > MoreOptionsLayer::init @ 0x10079b812
// > VideoOptionsLayer::init @ 0x10079f042
// > MoreVideoOptionsLayer::init @ 0x1007a100f
// > ??> @ 0x1008af248
// > ??> @ 0x1008afa40
// > ??> @ 0x1008b24e0
// > ??> @ 0x1008b2cd8
// > ??> @ 0x1008b4fc0
// > ??> @ 0x1008b57b8
// > ??> @ 0x1008b5f70
// > ??> @ 0x1008b88a8
// > ??> @ 0x1008b9040
// > ??> @ 0x1008c25c8
// > ??> @ 0x1008d9870
// > ??> @ 0x1008da070
// > ??> @ 0x1008daf60
// > ??> @ 0x1008db740
// > ??> @ 0x1008dcb90
// > ??> @ 0x1008de008
// > ??> @ 0x1008de7e0
// > ??> @ 0x1008deea8
// > ??> @ 0x1008df5b0
// > ??> @ 0x1008dfd28
// > ??> @ 0x1008e0428
// > ??> @ 0x1008e1728
// > ??> @ 0x1008e1f10
// > ??> @ 0x1008e2b08
// > ??> @ 0x1008ec218
// > ??> @ 0x1008ec928
// > ??> @ 0x1008ed0c8
// > ??> @ 0x1008ed778
// > ??> @ 0x1008edf00
// > ??> @ 0x1008ee710
// > ??> @ 0x1008f1540
// > ??> @ 0x1008f1bf0
// > ??> @ 0x1008f2330
// > ??> @ 0x1008f2a40
// > ??> @ 0x1008f3320
// > ??> @ 0x1008f4150
// > ??> @ 0x1008f62a0
// > ??> @ 0x1008f69b0
// > ??> @ 0x1008f7540
// > ??> @ 0x1008f8398
// > ??> @ 0x1008f8a48
// > ??> @ 0x1008f9240
// > ??> @ 0x1008f98e8
// > ??> @ 0x1008fa0d8
// > ??> @ 0x1008fa7b8
// > ??> @ 0x1008faed8
// > ??> @ 0x1008fb628
// > ??> @ 0x1008fbdb8
// > ??> @ 0x1008fc4c8
// > ??> @ 0x1008fcc30
// > ??> @ 0x1008fd428
// > ??> @ 0x1008fdb38
// > ??> @ 0x1008fe330
// > ??> @ 0x1008feb40
// > ??> @ 0x1008ff3f8
// > ??> @ 0x1008ffc08
// > ??> @ 0x100900470
// > ??> @ 0x100900be8
// > ??> @ 0x100901310
// > ??> @ 0x100901a88
// > ??> @ 0x100902500
// > ??> @ 0x100902d28
// > ??> @ 0x100903520
// > ??> @ 0x100903d30
// > ??> @ 0x100904790
// > ??> @ 0x100905528
// > ??> @ 0x100905d20
// > ??> @ 0x100906518
// > ??> @ 0x100907558
// > ??> @ 0x100908068
// > ??> @ 0x100908920
// > ??> @ 0x100908fe8
// > ??> @ 0x10090a690
// > ??> @ 0x10090ad90
// > ??> @ 0x10090b4d0
// > ??> @ 0x10090d248
// > ??> @ 0x10090d910
// > ??> @ 0x10090e158
// > ??> @ 0x10090e950
// > ??> @ 0x100910378
// > ??> @ 0x100910b60
// > ??> @ 0x100911288
// > ??> @ 0x100911a10
// > ??> @ 0x100912768
// > ??> @ 0x100912e48
// > ??> @ 0x1009141b8
// > ??> @ 0x100917770
// > ??> @ 0x100918640
// > ??> @ 0x100918ed0
// > ??> @ 0x100919580
// > ??> @ 0x100919c30
// > ??> @ 0x10091a410
// > ??> @ 0x10091ab38
// > ??> @ 0x10091ce10
// > ??> @ 0x10091d4d8
// > ??> @ 0x10091e738
// > ??> @ 0x10091f360
// > ??> @ 0x100920af8
// > ??> @ 0x1009212f0
// > ??> @ 0x100921ae8
// > ??> @ 0x1009222e0
// > ??> @ 0x100923028
// > ??> @ 0x100924008
// > ??> @ 0x100925220
// > ??> @ 0x100925a18
// > ??> @ 0x100926210
// > ??> @ 0x100928e90
// > ??> @ 0x10092d7f8
// > ??> @ 0x10092e858
// > ??> @ 0x10092f970
// > ??> @ 0x100930168
// > ??> @ 0x100930938
// > ??> @ 0x100931428
// > ??> @ 0x100932858
// > ??> @ 0x1009349b0
// > ??> @ 0x100936a90
// > ??> @ 0x100938640
// > ??> @ 0x100938e60
// > ??> @ 0x100939528
// > ??> @ 0x100939db0
// > ??> @ 0x10093a470
// > ??> @ 0x10093ac30
// > ??> @ 0x100942a20
// > ??> @ 0x100943278
// > ??> @ 0x1009443f8
// > ??> @ 0x100944b70
// > ??> @ 0x1009453a0
// > ??> @ 0x100947050
// > ??> @ 0x100948a48
// > ??> @ 0x100949cd8
// > ??> @ 0x10094a9e8
// > ??> @ 0x10094b238
// > ??> @ 0x10094ba30
// > ??> @ 0x10094c228
// > ??> @ 0x10094cac0
// > ??> @ 0x10094d358
// > ??> @ 0x10094db50
// > ??> @ 0x10094e348
// > ??> @ 0x10094f340
// > ??> @ 0x10094fe20
// > ??> @ 0x100950618
// > ??> @ 0x100950ce0
// > ??> @ 0x100951ab0
// > ??> @ 0x1009522a8
// > ??> @ 0x100952aa0
// > ??> @ 0x100953298
// > ??> @ 0x100953a90
// > ??> @ 0x1009542d0
// > ??> @ 0x100954ac8
// > ??> @ 0x1009552e8
// > ??> @ 0x1009559b0
// > ??> @ 0x1009566f0
// > ??> @ 0x100956e08
// > ??> @ 0x100957538
// > ??> @ 0x100957bf0
// > ??> @ 0x100958458
// > ??> @ 0x100959148
// > ??> @ 0x10095a168
// > ??> @ 0x10095a9e8
// > ??> @ 0x10095b128
// > ??> @ 0x10095b920
// > ??> @ 0x10095c118
// > ??> @ 0x10095c858
// > ??> @ 0x10095cf78
// > ??> @ 0x10095d8c8
// > ??> @ 0x10095e600
// > ??> @ 0x1009601a8
// > ??> @ 0x100963270
// > ??> @ 0x100963938
// > ??> @ 0x100964730
// > ??> @ 0x1009662e0
// > ??> @ 0x100966ac0
// > ??> @ 0x1009672d0
// > ??> @ 0x100967ac8
// > ??> @ 0x1009682c0
// > ??> @ 0x100968ab8
// > ??> @ 0x1009692b0
// > ??> @ 0x100969aa8
// > ??> @ 0x10096a2e0
// > ??> @ 0x10096aad8
// > ??> @ 0x10096b310
// > ??> @ 0x10096bb08
// > ??> @ 0x10096c300
// > ??> @ 0x10096caf8
// > ??> @ 0x10096d2f0
// > ??> @ 0x10096dae8
// > ??> @ 0x10096e2e0
// > ??> @ 0x10096ead8
// > ??> @ 0x10096f2d0
// > ??> @ 0x10096fac8
// > ??> @ 0x1009710d8
// > ??> @ 0x1009730b0
// > ??> @ 0x100973770
// > ??> @ 0x100973e38
// > ??> @ 0x100976100
// > ??> @ 0x100977650
// > ??> @ 0x100977e48
// > ??> @ 0x100978640
// > ??> @ 0x100978d50
// > ??> @ 0x10097b200
// > ??> @ 0x10097c760
// > ??> @ 0x10097d8e8
// > ??> @ 0x10097e088
// > ??> @ 0x10097f7b8
// > ??> @ 0x100980348
// > ??> @ 0x100980b40
// > ??> @ 0x100981308
// > ??> @ 0x100982f08
// > ??> @ 0x100983648
// > ??> @ 0x1009848a8
// > ??> @ 0x100984fb0
// > ??> @ 0x1009864a0
// > ??> @ 0x1009870e0
// > ??> @ 0x1009877a8
// > ??> @ 0x100987fa0
// > ??> @ 0x1009887c8
// > ??> @ 0x100988fc0
// > ??> @ 0x100989f68
// > ??> @ 0x10098ada8
// > ??> @ 0x10098b9a8
// > ??> @ 0x10098cbb0
// > ??> @ 0x10098d658
// > ??> @ 0x10098de50
// > ??> @ 0x10098eb98
// > ??> @ 0x10098f2e0
// > ??> @ 0x10098f990
// > ??> @ 0x100990088
// > ??> @ 0x100990738
// > ??> @ 0x1009929c0
// > ??> @ 0x100993208
// > ??> @ 0x100994270
// > ??> @ 0x100994b40
// > ??> @ 0x100995208
// > ??> @ 0x1009958d0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall cocos2d::CCLayerColor::initWithColor(cocos2d::CCLayerColor *a1, const cocos2d::ccColor4B *a2)
{
float v3[6]; // [rsp+8h] [rbp-18h] BYREF
cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v3);
((void (__fastcall *)(cocos2d::CCLayerColor *, const cocos2d::ccColor4B *, float, float))a1->initWithColor)(
a1,
a2,
v3[0],
v3[1]);
return 1;
}