{"type": "func", "start": 5369079584, "end": 5369079809, "name": "FLAlertLayer::init_1", "pseudocode": "// \n// FLAlertLayer::init_1 from 0x14005a720 to 0x14005a801 (225 bytes)\n// \n// 64 xrefs:\n// > AccountRegisterLayer::init @ 0x14008cd33\n// > AudioAssetsBrowser::init @ 0x140098fa7\n// > ChallengesPage::init @ 0x14009d9c1\n// > CharacterColorPage::init @ 0x1400a085b\n// > ClearPlatformerSavesPopup::init @ 0x1400a321f\n// > DropdownListPopup::init @ 0x1401215cb\n// > ColorSelectLiveOverlay::init @ 0x140124e63\n// > CommunityCreditsPage::init @ 0x14012d063\n// > HSVWidgetPopup::init @ 0x14012f6c3\n// > ConfigureValuePopup::init @ 0x140131baf\n// > CreateGuidelinesLayer::init @ 0x140132e35\n// > CustomizeObjectLayer::init @ 0x14013f4a5\n// > SongOptionsLayer::init @ 0x1401656eb\n// > NewgroundsInfoLayer::init @ 0x140166787\n// > NCSInfoLayer::init @ 0x140167348\n// > DailyRecallUnlockPopup::init @ 0x140173d0e\n// > FollowRewardPage::init @ 0x14020aff6\n// > FRequestProfilePage::init @ 0x14020f483\n// > GJColorSetupLayer::init @ 0x14035eba2\n// > ItemInfoPopup::init @ 0x14038434e\n// > TOSPopup::init @ 0x1403a92c3\n// > GJSpecialColorSelect::init @ 0x1403be4ba\n// > HSVLiveOverlay::init @ 0x1403c0b42\n// > InfoLayer::init @ 0x1403cddd8\n// > EditorSoundsSettingsPopup::init @ 0x1403d4994\n// > KeybindingsSettingsPopup::init @ 0x1403d8ec4\n// > LevelStatsInfoPopup::init @ 0x140426954\n// > LevelLeaderboard::init @ 0x1404284c2\n// > DemonFilterSelectLayer::init @ 0x140440bf6\n// > LevelSettingsLayer::init @ 0x140457b9b\n// > LikeItemLayer::init @ 0x140468a14\n// > MessagesProfilePage::init @ 0x14047595c\n// > NotificationsPage::init @ 0x140477d08\n// > MusicBrowser::init @ 0x14047a3a6\n// > OptionsScrollLayer::init @ 0x14047e5b3\n// > NewsPopup::init @ 0x14049dc19\n// > NumberInputLayer::init @ 0x1404a12a9\n// > ParentalOptionsLayer::init @ 0x1404d1556\n// > StartPosBrowser::init @ 0x1404dba3d\n// > ProfilePage::init @ 0x140550934\n// > DemonInfoPopup::init @ 0x14055b0b6\n// > StarInfoPopup::init @ 0x14055c11c\n// > MyStuffPopup::init @ 0x14055c91f\n// > RateDemonLayer::init @ 0x14055d00d\n// > RateLevelLayer::init @ 0x14055dc6d\n// > RateStarsLayer::init @ 0x14055e533\n// > RateStarsModLayer::init @ 0x14055f50e\n// > RewardUnlockLayer::init @ 0x140563740\n// > SetupObjectOptionsPopup::init @ 0x140594a5e\n// > SelectPremadeLayer::init @ 0x14059e143\n// > CreateParticlePopup::init @ 0x1405c14b2\n// > SetupSmartBlockLayer::init @ 0x1405ec373\n// > SetupSmartTemplateLayer::init @ 0x1405ee586\n// > BrowseSmartTemplateLayer::init @ 0x1405ef885\n// > BrowseSmartKeyLayer::init @ 0x1405f0fef\n// > SetupTriggerPopup::init @ 0x14060aebb\n// > SFXBrowser::init @ 0x1406167c8\n// > ScrollViewPopup::initPopup @ 0x1406219a8\n// > ShardsPage::init @ 0x14062a9fe\n// > ShareCommentLayer::init @ 0x14062df06\n// > ShareLevelSettingsLayer::init @ 0x140632b74\n// > SongInfoLayer::init @ 0x140634cbe\n// > TopArtistsLayer::init @ 0x14066e004\n// > <???> @ 0x1409106dc\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:25:42 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nbool __fastcall FLAlertLayer::init_1(__int64 a1, char a2)\n{\n  bool result; // al\n  __int64 v4; // rcx\n  __int64 v5; // rdx\n  __int64 v6; // rdx\n  __int64 v7; // rax\n  __int16 v8; // [rsp+38h] [rbp+10h] BYREF\n  char v9; // [rsp+3Ah] [rbp+12h]\n  char v10; // [rsp+3Bh] [rbp+13h]\n  void *v11; // [rsp+40h] [rbp+18h]\n\n  v8 = 0;\n  v9 = 0;\n  v10 = a2;\n  result = cocos2d::CCLayerColor::initWithColor((cocos2d::CCLayerColor *)a1, (const struct cocos2d::_ccColor4B *)&v8);\n  if ( result )\n  {\n    v4 = qword_14090BFD0;\n    if ( !qword_14090BFD0 )\n    {\n      v11 = operator new(0x6E8u);\n      qword_14090BFD0 = GameManager::GameManager(v11);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      v4 = qword_14090BFD0;\n    }\n    if ( (unsigned __int8)GameManager::getGameVariable(v4, \"0168\") )\n      *(_BYTE *)(a1 + 596) = 1;\n    FLAlertLayer::incrementForcePrio(a1);\n    LOBYTE(v5) = 1;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 920LL))(a1, v5);\n    LOBYTE(v6) = 1;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 992LL))(a1, v6);\n    v7 = cocos2d::CCLayer::create();\n    *(_QWORD *)(a1 + 584) = v7;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v7);\n    *(_DWORD *)(a1 + 640) = -1;\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; FLAlertLayer::init_1 from 0x14005a720 to 0x14005a801 (225 bytes)\n; \n; 64 xrefs:\n; > AccountRegisterLayer::init @ 0x14008cd33\n; > AudioAssetsBrowser::init @ 0x140098fa7\n; > ChallengesPage::init @ 0x14009d9c1\n; > CharacterColorPage::init @ 0x1400a085b\n; > ClearPlatformerSavesPopup::init @ 0x1400a321f\n; > DropdownListPopup::init @ 0x1401215cb\n; > ColorSelectLiveOverlay::init @ 0x140124e63\n; > CommunityCreditsPage::init @ 0x14012d063\n; > HSVWidgetPopup::init @ 0x14012f6c3\n; > ConfigureValuePopup::init @ 0x140131baf\n; > CreateGuidelinesLayer::init @ 0x140132e35\n; > CustomizeObjectLayer::init @ 0x14013f4a5\n; > SongOptionsLayer::init @ 0x1401656eb\n; > NewgroundsInfoLayer::init @ 0x140166787\n; > NCSInfoLayer::init @ 0x140167348\n; > DailyRecallUnlockPopup::init @ 0x140173d0e\n; > FollowRewardPage::init @ 0x14020aff6\n; > FRequestProfilePage::init @ 0x14020f483\n; > GJColorSetupLayer::init @ 0x14035eba2\n; > ItemInfoPopup::init @ 0x14038434e\n; > TOSPopup::init @ 0x1403a92c3\n; > GJSpecialColorSelect::init @ 0x1403be4ba\n; > HSVLiveOverlay::init @ 0x1403c0b42\n; > InfoLayer::init @ 0x1403cddd8\n; > EditorSoundsSettingsPopup::init @ 0x1403d4994\n; > KeybindingsSettingsPopup::init @ 0x1403d8ec4\n; > LevelStatsInfoPopup::init @ 0x140426954\n; > LevelLeaderboard::init @ 0x1404284c2\n; > DemonFilterSelectLayer::init @ 0x140440bf6\n; > LevelSettingsLayer::init @ 0x140457b9b\n; > LikeItemLayer::init @ 0x140468a14\n; > MessagesProfilePage::init @ 0x14047595c\n; > NotificationsPage::init @ 0x140477d08\n; > MusicBrowser::init @ 0x14047a3a6\n; > OptionsScrollLayer::init @ 0x14047e5b3\n; > NewsPopup::init @ 0x14049dc19\n; > NumberInputLayer::init @ 0x1404a12a9\n; > ParentalOptionsLayer::init @ 0x1404d1556\n; > StartPosBrowser::init @ 0x1404dba3d\n; > ProfilePage::init @ 0x140550934\n; > DemonInfoPopup::init @ 0x14055b0b6\n; > StarInfoPopup::init @ 0x14055c11c\n; > MyStuffPopup::init @ 0x14055c91f\n; > RateDemonLayer::init @ 0x14055d00d\n; > RateLevelLayer::init @ 0x14055dc6d\n; > RateStarsLayer::init @ 0x14055e533\n; > RateStarsModLayer::init @ 0x14055f50e\n; > RewardUnlockLayer::init @ 0x140563740\n; > SetupObjectOptionsPopup::init @ 0x140594a5e\n; > SelectPremadeLayer::init @ 0x14059e143\n; > CreateParticlePopup::init @ 0x1405c14b2\n; > SetupSmartBlockLayer::init @ 0x1405ec373\n; > SetupSmartTemplateLayer::init @ 0x1405ee586\n; > BrowseSmartTemplateLayer::init @ 0x1405ef885\n; > BrowseSmartKeyLayer::init @ 0x1405f0fef\n; > SetupTriggerPopup::init @ 0x14060aebb\n; > SFXBrowser::init @ 0x1406167c8\n; > ScrollViewPopup::initPopup @ 0x1406219a8\n; > ShardsPage::init @ 0x14062a9fe\n; > ShareCommentLayer::init @ 0x14062df06\n; > ShareLevelSettingsLayer::init @ 0x140632b74\n; > SongInfoLayer::init @ 0x140634cbe\n; > TopArtistsLayer::init @ 0x14066e004\n; > <???> @ 0x1409106dc\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:25:42 +0000\n; \npush    rbx                                                            ; +0x0, 0x14005a720\nsub     rsp, 20h                                                       ; +0x2, 0x14005a722\nmov     rbx, rcx                                                       ; +0x6, 0x14005a726\nmov     word ptr [rsp+28h+arg_8], 0                                    ; +0x9, 0x14005a729\nmov     byte ptr [rsp+28h+arg_8+2], 0                                  ; +0x10, 0x14005a730\nmov     byte ptr [rsp+28h+arg_8+3], dl                                 ; +0x15, 0x14005a735\nmov     eax, [rsp+28h+arg_8]                                           ; +0x19, 0x14005a739\nmov     [rsp+28h+arg_8], eax                                           ; +0x1d, 0x14005a73d\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x21, 0x14005a741\ncall    cs:__imp_?initWithColor@CCLayerColor@cocos2d@@UEAA_NAEBU_ccColor4B@2@@Z; cocos2d::CCLayerColor::initWithColor(cocos2d::_ccColor4B const &) ; +0x26, 0x14005a746\ntest    al, al                                                         ; +0x2c, 0x14005a74c\njnz     short loc_14005A756                                            ; +0x2e, 0x14005a74e\nadd     rsp, 20h                                                       ; +0x30, 0x14005a750\npop     rbx                                                            ; +0x34, 0x14005a754\nretn                                                                   ; +0x35, 0x14005a755\nmov     rcx, cs:qword_14090BFD0                                        ; +0x36, 0x14005a756\ntest    rcx, rcx                                                       ; +0x3d, 0x14005a75d\njnz     short loc_14005A794                                            ; +0x40, 0x14005a760\nmov     ecx, 6E8h; Size                                                ; +0x42, 0x14005a762\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x47, 0x14005a767\nmov     [rsp+28h+arg_10], rax                                          ; +0x4c, 0x14005a76c\nmov     rcx, rax                                                       ; +0x51, 0x14005a771\ncall    GameManager__GameManager                                       ; +0x54, 0x14005a774\nnop                                                                    ; +0x59, 0x14005a779\nmov     cs:qword_14090BFD0, rax                                        ; +0x5a, 0x14005a77a\nmov     rcx, [rax]                                                     ; +0x61, 0x14005a781\nmov     rdx, [rcx+48h]                                                 ; +0x64, 0x14005a784\nmov     rcx, rax                                                       ; +0x68, 0x14005a788\ncall    rdx                                                            ; +0x6b, 0x14005a78b\nmov     rcx, cs:qword_14090BFD0                                        ; +0x6d, 0x14005a78d\nlea     rdx, a0168; \"0168\"                                             ; +0x74, 0x14005a794\ncall    GameManager__getGameVariable                                   ; +0x7b, 0x14005a79b\ntest    al, al                                                         ; +0x80, 0x14005a7a0\njz      short loc_14005A7AB                                            ; +0x82, 0x14005a7a2\nmov     byte ptr [rbx+254h], 1                                         ; +0x84, 0x14005a7a4\nmov     rcx, rbx                                                       ; +0x8b, 0x14005a7ab\ncall    FLAlertLayer__incrementForcePrio                               ; +0x8e, 0x14005a7ae\nmov     rax, [rbx]                                                     ; +0x93, 0x14005a7b3\nmov     dl, 1                                                          ; +0x96, 0x14005a7b6\nmov     rcx, rbx                                                       ; +0x98, 0x14005a7b8\ncall    qword ptr [rax+398h]                                           ; +0x9b, 0x14005a7bb\nmov     rax, [rbx]                                                     ; +0xa1, 0x14005a7c1\nmov     dl, 1                                                          ; +0xa4, 0x14005a7c4\nmov     rcx, rbx                                                       ; +0xa6, 0x14005a7c6\ncall    qword ptr [rax+3E0h]                                           ; +0xa9, 0x14005a7c9\ncall    cs:?create@CCLayer@cocos2d@@SAPEAV12@XZ; cocos2d::CCLayer::create(void) ; +0xaf, 0x14005a7cf\nmov     [rbx+248h], rax                                                ; +0xb5, 0x14005a7d5\nmov     rcx, [rbx]                                                     ; +0xbc, 0x14005a7dc\nmov     r8, [rcx+1D0h]                                                 ; +0xbf, 0x14005a7df\nmov     rdx, rax                                                       ; +0xc6, 0x14005a7e6\nmov     rcx, rbx                                                       ; +0xc9, 0x14005a7e9\ncall    r8                                                             ; +0xcc, 0x14005a7ec\nmov     dword ptr [rbx+280h], 0FFFFFFFFh                               ; +0xcf, 0x14005a7ef\nmov     al, 1                                                          ; +0xd9, 0x14005a7f9\nadd     rsp, 20h                                                       ; +0xdb, 0x14005a7fb\npop     rbx                                                            ; +0xdf, 0x14005a7ff\nretn                                                                   ; +0xe0, 0x14005a800", "xrefs": ["AccountRegisterLayer::init @ 0x14008cd33", "AudioAssetsBrowser::init @ 0x140098fa7", "ChallengesPage::init @ 0x14009d9c1", "CharacterColorPage::init @ 0x1400a085b", "ClearPlatformerSavesPopup::init @ 0x1400a321f", "DropdownListPopup::init @ 0x1401215cb", "ColorSelectLiveOverlay::init @ 0x140124e63", "CommunityCreditsPage::init @ 0x14012d063", "HSVWidgetPopup::init @ 0x14012f6c3", "ConfigureValuePopup::init @ 0x140131baf", "CreateGuidelinesLayer::init @ 0x140132e35", "CustomizeObjectLayer::init @ 0x14013f4a5", "SongOptionsLayer::init @ 0x1401656eb", "NewgroundsInfoLayer::init @ 0x140166787", "NCSInfoLayer::init @ 0x140167348", "DailyRecallUnlockPopup::init @ 0x140173d0e", "FollowRewardPage::init @ 0x14020aff6", "FRequestProfilePage::init @ 0x14020f483", "GJColorSetupLayer::init @ 0x14035eba2", "ItemInfoPopup::init @ 0x14038434e", "TOSPopup::init @ 0x1403a92c3", "GJSpecialColorSelect::init @ 0x1403be4ba", "HSVLiveOverlay::init @ 0x1403c0b42", "InfoLayer::init @ 0x1403cddd8", "EditorSoundsSettingsPopup::init @ 0x1403d4994", "KeybindingsSettingsPopup::init @ 0x1403d8ec4", "LevelStatsInfoPopup::init @ 0x140426954", "LevelLeaderboard::init @ 0x1404284c2", "DemonFilterSelectLayer::init @ 0x140440bf6", "LevelSettingsLayer::init @ 0x140457b9b", "LikeItemLayer::init @ 0x140468a14", "MessagesProfilePage::init @ 0x14047595c", "NotificationsPage::init @ 0x140477d08", "MusicBrowser::init @ 0x14047a3a6", "OptionsScrollLayer::init @ 0x14047e5b3", "NewsPopup::init @ 0x14049dc19", "NumberInputLayer::init @ 0x1404a12a9", "ParentalOptionsLayer::init @ 0x1404d1556", "StartPosBrowser::init @ 0x1404dba3d", "ProfilePage::init @ 0x140550934", "DemonInfoPopup::init @ 0x14055b0b6", "StarInfoPopup::init @ 0x14055c11c", "MyStuffPopup::init @ 0x14055c91f", "RateDemonLayer::init @ 0x14055d00d", "RateLevelLayer::init @ 0x14055dc6d", "RateStarsLayer::init @ 0x14055e533", "RateStarsModLayer::init @ 0x14055f50e", "RewardUnlockLayer::init @ 0x140563740", "SetupObjectOptionsPopup::init @ 0x140594a5e", "SelectPremadeLayer::init @ 0x14059e143", "CreateParticlePopup::init @ 0x1405c14b2", "SetupSmartBlockLayer::init @ 0x1405ec373", "SetupSmartTemplateLayer::init @ 0x1405ee586", "BrowseSmartTemplateLayer::init @ 0x1405ef885", "BrowseSmartKeyLayer::init @ 0x1405f0fef", "SetupTriggerPopup::init @ 0x14060aebb", "SFXBrowser::init @ 0x1406167c8", "ScrollViewPopup::initPopup @ 0x1406219a8", "ShardsPage::init @ 0x14062a9fe", "ShareCommentLayer::init @ 0x14062df06", "ShareLevelSettingsLayer::init @ 0x140632b74", "SongInfoLayer::init @ 0x140634cbe", "TopArtistsLayer::init @ 0x14066e004", "<???> @ 0x1409106dc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}