{"type": "func", "start": 3979448, "end": 3979586, "name": "FLAlertLayer::init", "pseudocode": "// \n// FLAlertLayer::init from 0x3cb8b8 to 0x3cb942 (138 bytes)\n// \n// 68 xrefs:\n// > CreateGuidelinesLayer::init @ 0x3f81c2\n// > StartPosBrowser::init @ 0x490054\n// > DemonFilterSelectLayer::init @ 0x495d24\n// > ShareLevelSettingsLayer::init @ 0x4a2cd4\n// > ItemInfoPopup::init @ 0x50d9a8\n// > RateLevelLayer::init @ 0x5111f6\n// > ParentalOptionsLayer::init @ 0x532246\n// > SongInfoLayer::init @ 0x53b230\n// > InfoLayer::init @ 0x53ed08\n// > ShareCommentLayer::init @ 0x541380\n// > LikeItemLayer::init @ 0x544f22\n// > PromoInterstitial::init @ 0x5457d0\n// > LevelFeatureLayer::init @ 0x565464\n// > NumberInputLayer::init @ 0x568ac6\n// > RateStarsLayer::init @ 0x569570\n// > NewgroundsInfoLayer::init @ 0x57b082\n// > SongOptionsLayer::init @ 0x57cf0c\n// > NCSInfoLayer::init @ 0x57d84c\n// > CustomizeObjectLayer::init @ 0x57f646\n// > AccountRegisterLayer::init @ 0x586af6\n// > GJColorSetupLayer::init @ 0x5c17fa\n// > TOSPopup::init @ 0x5d7c4e\n// > HSVWidgetPopup::init @ 0x5e5df6\n// > GJSpecialColorSelect::init @ 0x5e899e\n// > MessagesProfilePage::init @ 0x5f045c\n// > FRequestProfilePage::init @ 0x5f2204\n// > MyStuffPopup::init @ 0x5f7336\n// > DemonInfoPopup::init @ 0x5f7dbe\n// > StarInfoPopup::init @ 0x5f84bc\n// > ProfilePage::init @ 0x5fa6cc\n// > ChallengesPage::init @ 0x600296\n// > ColorSelectLiveOverlay::init @ 0x602526\n// > ConfigureValuePopup::init @ 0x602c68\n// > LevelLeaderboard::init @ 0x615198\n// > RateDemonLayer::init @ 0x616182\n// > RewardUnlockLayer::init @ 0x6196ae\n// > ShardsPage::init @ 0x62b668\n// > WorldLevelPage::init @ 0x62eb0c\n// > FollowRewardPage::init @ 0x63067e\n// > TopArtistsLayer::init @ 0x63163e\n// > SetupPortalPopup::init @ 0x6341d6\n// > CommunityCreditsPage::init @ 0x637978\n// > SetupObjectOptionsPopup::init @ 0x63b542\n// > SetupGravityModPopup::init @ 0x6633ee\n// > CreateParticlePopup::init @ 0x667350\n// > SetupSmartBlockLayer::init @ 0x672f6e\n// > SetupSmartTemplateLayer::init @ 0x67426e\n// > BrowseSmartKeyLayer::init @ 0x674bf6\n// > BrowseSmartTemplateLayer::init @ 0x6753f4\n// > SetupTriggerPopup::init @ 0x676326\n// > SelectPremadeLayer::init @ 0x699afc\n// > HSVLiveOverlay::init @ 0x69c47a\n// > CharacterColorPage::init @ 0x69d67e\n// > LevelSettingsLayer::init @ 0x6ab272\n// > MusicBrowser::init @ 0x6bf8ae\n// > OptionsScrollLayer::init @ 0x6c02d4\n// > NewsPopup::init @ 0x6c30bc\n// > SFXBrowser::init @ 0x6c818a\n// > ScrollViewPopup::initPopup @ 0x6c9b6a\n// > AudioAssetsBrowser::init @ 0x6e20c0\n// > DailyRecallUnlockPopup::init @ 0x742828\n// > NotificationsPage::init @ 0x7435ae\n// > ClearPlatformerSavesPopup::init @ 0x761da2\n// > DropdownListPopup::init @ 0x778022\n// > EditorSoundsSettingsPopup::init @ 0x78b77a\n// > KeybindingsSettingsPopup::init @ 0x797178\n// > LevelStatsInfoPopup::init @ 0x79c33e\n// > RateStarsModLayer::init @ 0x79e96a\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:46:37 +0000\n// \n\nGameManager *__fastcall FLAlertLayer::init(FLAlertLayer *this, int a2)\n{\n  GameManager *v3; // r0\n  GameManager *v4; // r6\n  GameManager *v5; // r0\n  cocos2d::CCLayer *v6; // r0\n  int v7; // r0\n  int v8; // r3\n  _BYTE v10[4]; // [sp+0h] [bp-8h] BYREF\n  int v11; // [sp+4h] [bp-4h]\n\n  v11 = a2;\n  v10[3] = a2;\n  v10[0] = 0;\n  v10[1] = 0;\n  v10[2] = 0;\n  v3 = (GameManager *)cocos2d::CCLayerColor::initWithColor(this, v10);\n  v4 = v3;\n  if ( v3 )\n  {\n    v5 = (GameManager *)GameManager::sharedState(v3);\n    if ( GameManager::getGameVariable(v5, \"0168\") )\n      *((_BYTE *)this + 468) = 1;\n    FLAlertLayer::incrementForcePrio(this);\n    (*(void (__fastcall **)(FLAlertLayer *, int))(*(_DWORD *)this + 500))(this, 1);\n    v6 = (cocos2d::CCLayer *)(*(int (__fastcall **)(FLAlertLayer *, int))(*(_DWORD *)this + 536))(this, 1);\n    v7 = cocos2d::CCLayer::create(v6);\n    v8 = *(_DWORD *)this;\n    *((_DWORD *)this + 115) = v7;\n    (*(void (__fastcall **)(FLAlertLayer *, int))(v8 + 228))(this, v7);\n    *((_DWORD *)this + 125) = -1;\n  }\n  return v4;\n}", "assembly": "; \n; FLAlertLayer::init from 0x3cb8b8 to 0x3cb942 (138 bytes)\n; \n; 68 xrefs:\n; > CreateGuidelinesLayer::init @ 0x3f81c2\n; > StartPosBrowser::init @ 0x490054\n; > DemonFilterSelectLayer::init @ 0x495d24\n; > ShareLevelSettingsLayer::init @ 0x4a2cd4\n; > ItemInfoPopup::init @ 0x50d9a8\n; > RateLevelLayer::init @ 0x5111f6\n; > ParentalOptionsLayer::init @ 0x532246\n; > SongInfoLayer::init @ 0x53b230\n; > InfoLayer::init @ 0x53ed08\n; > ShareCommentLayer::init @ 0x541380\n; > LikeItemLayer::init @ 0x544f22\n; > PromoInterstitial::init @ 0x5457d0\n; > LevelFeatureLayer::init @ 0x565464\n; > NumberInputLayer::init @ 0x568ac6\n; > RateStarsLayer::init @ 0x569570\n; > NewgroundsInfoLayer::init @ 0x57b082\n; > SongOptionsLayer::init @ 0x57cf0c\n; > NCSInfoLayer::init @ 0x57d84c\n; > CustomizeObjectLayer::init @ 0x57f646\n; > AccountRegisterLayer::init @ 0x586af6\n; > GJColorSetupLayer::init @ 0x5c17fa\n; > TOSPopup::init @ 0x5d7c4e\n; > HSVWidgetPopup::init @ 0x5e5df6\n; > GJSpecialColorSelect::init @ 0x5e899e\n; > MessagesProfilePage::init @ 0x5f045c\n; > FRequestProfilePage::init @ 0x5f2204\n; > MyStuffPopup::init @ 0x5f7336\n; > DemonInfoPopup::init @ 0x5f7dbe\n; > StarInfoPopup::init @ 0x5f84bc\n; > ProfilePage::init @ 0x5fa6cc\n; > ChallengesPage::init @ 0x600296\n; > ColorSelectLiveOverlay::init @ 0x602526\n; > ConfigureValuePopup::init @ 0x602c68\n; > LevelLeaderboard::init @ 0x615198\n; > RateDemonLayer::init @ 0x616182\n; > RewardUnlockLayer::init @ 0x6196ae\n; > ShardsPage::init @ 0x62b668\n; > WorldLevelPage::init @ 0x62eb0c\n; > FollowRewardPage::init @ 0x63067e\n; > TopArtistsLayer::init @ 0x63163e\n; > SetupPortalPopup::init @ 0x6341d6\n; > CommunityCreditsPage::init @ 0x637978\n; > SetupObjectOptionsPopup::init @ 0x63b542\n; > SetupGravityModPopup::init @ 0x6633ee\n; > CreateParticlePopup::init @ 0x667350\n; > SetupSmartBlockLayer::init @ 0x672f6e\n; > SetupSmartTemplateLayer::init @ 0x67426e\n; > BrowseSmartKeyLayer::init @ 0x674bf6\n; > BrowseSmartTemplateLayer::init @ 0x6753f4\n; > SetupTriggerPopup::init @ 0x676326\n; > SelectPremadeLayer::init @ 0x699afc\n; > HSVLiveOverlay::init @ 0x69c47a\n; > CharacterColorPage::init @ 0x69d67e\n; > LevelSettingsLayer::init @ 0x6ab272\n; > MusicBrowser::init @ 0x6bf8ae\n; > OptionsScrollLayer::init @ 0x6c02d4\n; > NewsPopup::init @ 0x6c30bc\n; > SFXBrowser::init @ 0x6c818a\n; > ScrollViewPopup::initPopup @ 0x6c9b6a\n; > AudioAssetsBrowser::init @ 0x6e20c0\n; > DailyRecallUnlockPopup::init @ 0x742828\n; > NotificationsPage::init @ 0x7435ae\n; > ClearPlatformerSavesPopup::init @ 0x761da2\n; > DropdownListPopup::init @ 0x778022\n; > EditorSoundsSettingsPopup::init @ 0x78b77a\n; > KeybindingsSettingsPopup::init @ 0x797178\n; > LevelStatsInfoPopup::init @ 0x79c33e\n; > RateStarsModLayer::init @ 0x79e96a\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:46:37 +0000\n; \nPUSH            {R0,R1,R4-R6,LR}                                       ; +0x0, 0x3cb8b8\nMOV             R4, R0                                                 ; +0x2, 0x3cb8ba\nLDR             R5, =(__stack_chk_guard_ptr - 0x3CB8C8)                ; +0x4, 0x3cb8bc\nSTRB.W          R1, [SP,#8+var_5]                                      ; +0x6, 0x3cb8be\nMOV             R1, SP                                                 ; +0xa, 0x3cb8c2\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xc, 0x3cb8c4\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xe, 0x3cb8c6\nLDR             R3, [R5]                                               ; +0x10, 0x3cb8c8\nSTR             R3, [SP,#8+var_4]                                      ; +0x12, 0x3cb8ca\nMOVS            R3, #0                                                 ; +0x14, 0x3cb8cc\nSTRB.W          R3, [SP,#8+var_8]                                      ; +0x16, 0x3cb8ce\nSTRB.W          R3, [SP,#8+var_7]                                      ; +0x1a, 0x3cb8d2\nSTRB.W          R3, [SP,#8+var_6]                                      ; +0x1e, 0x3cb8d6\nBL              _ZN7cocos2d12CCLayerColor13initWithColorERKNS_10_ccColor4BE; cocos2d::CCLayerColor::initWithColor(cocos2d::_ccColor4B const&) ; +0x22, 0x3cb8da\nMOV             R6, R0                                                 ; +0x26, 0x3cb8de\nCBZ             R0, loc_3CB930                                         ; +0x28, 0x3cb8e0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2a, 0x3cb8e2\nLDR             R1, =(a0168 - 0x3CB8EC); \"0168\"                        ; +0x2e, 0x3cb8e6\nADD             R1, PC; \"0168\"                                         ; +0x30, 0x3cb8e8\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x32, 0x3cb8ea\nCBZ             R0, loc_3CB8F6                                         ; +0x36, 0x3cb8ee\nMOVS            R3, #1                                                 ; +0x38, 0x3cb8f0\nSTRB.W          R3, [R4,#0x1D4]                                        ; +0x3a, 0x3cb8f2\nMOV             R0, R4; this                                           ; +0x3e, 0x3cb8f6\nBL              _ZN12FLAlertLayer18incrementForcePrioEv; FLAlertLayer::incrementForcePrio(void) ; +0x40, 0x3cb8f8\nLDR             R3, [R4]                                               ; +0x44, 0x3cb8fc\nMOV             R0, R4                                                 ; +0x46, 0x3cb8fe\nMOVS            R1, #1                                                 ; +0x48, 0x3cb900\nLDR.W           R3, [R3,#0x1F4]                                        ; +0x4a, 0x3cb902\nBLX             R3                                                     ; +0x4e, 0x3cb906\nLDR             R3, [R4]                                               ; +0x50, 0x3cb908\nMOVS            R1, #1                                                 ; +0x52, 0x3cb90a\nMOV             R0, R4                                                 ; +0x54, 0x3cb90c\nLDR.W           R3, [R3,#0x218]                                        ; +0x56, 0x3cb90e\nBLX             R3                                                     ; +0x5a, 0x3cb912\nBL              _ZN7cocos2d7CCLayer6createEv; cocos2d::CCLayer::create(void) ; +0x5c, 0x3cb914\nLDR             R3, [R4]                                               ; +0x60, 0x3cb918\nSTR.W           R0, [R4,#0x1CC]                                        ; +0x62, 0x3cb91a\nMOV             R1, R0                                                 ; +0x66, 0x3cb91e\nLDR.W           R3, [R3,#0xE4]                                         ; +0x68, 0x3cb920\nMOV             R0, R4                                                 ; +0x6c, 0x3cb924\nBLX             R3                                                     ; +0x6e, 0x3cb926\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x70, 0x3cb928\nSTR.W           R3, [R4,#0x1F4]                                        ; +0x74, 0x3cb92c\nLDR             R2, [SP,#8+var_4]                                      ; +0x78, 0x3cb930\nMOV             R0, R6                                                 ; +0x7a, 0x3cb932\nLDR             R3, [R5]                                               ; +0x7c, 0x3cb934\nCMP             R2, R3                                                 ; +0x7e, 0x3cb936\nBEQ             loc_3CB93E                                             ; +0x80, 0x3cb938\nBLX             __stack_chk_fail                                       ; +0x82, 0x3cb93a\nADD             SP, SP, #8                                             ; +0x86, 0x3cb93e\nPOP             {R4-R6,PC}                                             ; +0x88, 0x3cb940", "xrefs": ["CreateGuidelinesLayer::init @ 0x3f81c2", "StartPosBrowser::init @ 0x490054", "DemonFilterSelectLayer::init @ 0x495d24", "ShareLevelSettingsLayer::init @ 0x4a2cd4", "ItemInfoPopup::init @ 0x50d9a8", "RateLevelLayer::init @ 0x5111f6", "ParentalOptionsLayer::init @ 0x532246", "SongInfoLayer::init @ 0x53b230", "InfoLayer::init @ 0x53ed08", "ShareCommentLayer::init @ 0x541380", "LikeItemLayer::init @ 0x544f22", "PromoInterstitial::init @ 0x5457d0", "LevelFeatureLayer::init @ 0x565464", "NumberInputLayer::init @ 0x568ac6", "RateStarsLayer::init @ 0x569570", "NewgroundsInfoLayer::init @ 0x57b082", "SongOptionsLayer::init @ 0x57cf0c", "NCSInfoLayer::init @ 0x57d84c", "CustomizeObjectLayer::init @ 0x57f646", "AccountRegisterLayer::init @ 0x586af6", "GJColorSetupLayer::init @ 0x5c17fa", "TOSPopup::init @ 0x5d7c4e", "HSVWidgetPopup::init @ 0x5e5df6", "GJSpecialColorSelect::init @ 0x5e899e", "MessagesProfilePage::init @ 0x5f045c", "FRequestProfilePage::init @ 0x5f2204", "MyStuffPopup::init @ 0x5f7336", "DemonInfoPopup::init @ 0x5f7dbe", "StarInfoPopup::init @ 0x5f84bc", "ProfilePage::init @ 0x5fa6cc", "ChallengesPage::init @ 0x600296", "ColorSelectLiveOverlay::init @ 0x602526", "ConfigureValuePopup::init @ 0x602c68", "LevelLeaderboard::init @ 0x615198", "RateDemonLayer::init @ 0x616182", "RewardUnlockLayer::init @ 0x6196ae", "ShardsPage::init @ 0x62b668", "WorldLevelPage::init @ 0x62eb0c", "FollowRewardPage::init @ 0x63067e", "TopArtistsLayer::init @ 0x63163e", "SetupPortalPopup::init @ 0x6341d6", "CommunityCreditsPage::init @ 0x637978", "SetupObjectOptionsPopup::init @ 0x63b542", "SetupGravityModPopup::init @ 0x6633ee", "CreateParticlePopup::init @ 0x667350", "SetupSmartBlockLayer::init @ 0x672f6e", "SetupSmartTemplateLayer::init @ 0x67426e", "BrowseSmartKeyLayer::init @ 0x674bf6", "BrowseSmartTemplateLayer::init @ 0x6753f4", "SetupTriggerPopup::init @ 0x676326", "SelectPremadeLayer::init @ 0x699afc", "HSVLiveOverlay::init @ 0x69c47a", "CharacterColorPage::init @ 0x69d67e", "LevelSettingsLayer::init @ 0x6ab272", "MusicBrowser::init @ 0x6bf8ae", "OptionsScrollLayer::init @ 0x6c02d4", "NewsPopup::init @ 0x6c30bc", "SFXBrowser::init @ 0x6c818a", "ScrollViewPopup::initPopup @ 0x6c9b6a", "AudioAssetsBrowser::init @ 0x6e20c0", "DailyRecallUnlockPopup::init @ 0x742828", "NotificationsPage::init @ 0x7435ae", "ClearPlatformerSavesPopup::init @ 0x761da2", "DropdownListPopup::init @ 0x778022", "EditorSoundsSettingsPopup::init @ 0x78b77a", "KeybindingsSettingsPopup::init @ 0x797178", "LevelStatsInfoPopup::init @ 0x79c33e", "RateStarsModLayer::init @ 0x79e96a"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}