{"type": "func", "start": 3982056, "end": 3982164, "name": "FLAlertLayer::create", "pseudocode": "// \n// FLAlertLayer::create from 0x3cc2e8 to 0x3cc354 (108 bytes)\n// \n// 54 xrefs:\n// > GameToolbox::doWeHaveInternet @ 0x3cf80a\n// > CreateGuidelinesLayer::onClearGuidelines @ 0x3f7f26\n// > GameManager::showParentalRestrictedAlert @ 0x41534e\n// > LevelCell::onClick @ 0x427b56\n// > EditLevelLayer::onExportLevel @ 0x49fc72\n// > LevelBrowserLayer::showExportResult @ 0x4a5850\n// > LevelBrowserLayer::showImportResult @ 0x4a8a5a\n// > GameLevelManager::onUploadCommentCompleted @ 0x4c5506\n// > VideoOptionsLayer::onApply @ 0x52e47e\n// > InfoLayer::commentUploadFailed @ 0x53d77c\n// > MessagesProfilePage::onDeleteSelected @ 0x5efbb2\n// > FRequestProfilePage::onDeleteSelected @ 0x5f187c\n// > ProfilePage::onFollow @ 0x5f6f4e\n// > ProfilePage::followUserFailed @ 0x5f7012\n// > ProfilePage::commentUploadFailed @ 0x5f7250\n// > ProfilePage::commentDeleteFailed @ 0x5fb6a4\n// > LevelAreaInnerLayer::onNextFloor @ 0x6a3dd0\n// > NewsPopup::onBlockClicked @ 0x6c2b60\n// > GameSettingsLayer::onCustomButton @ 0x710bf8\n// > AutoBackupPopup::onRestore @ 0x73cd14\n// > AutoBackupPopup::onDelete @ 0x73cec0\n// > NotificationsPage::notificationRewardFailed @ 0x743e6e\n// > NotificationsPage::notificationMuteFailed @ 0x743ee6\n// > ThreadDescPopup::onSave @ 0x75481a\n// > NewThreadPopup::onSend @ 0x754be4\n// > NewThreadPopup::onSend @ 0x754d2a\n// > NewThreadPopup::onSend @ 0x754d92\n// > NewThreadPopup::onSend @ 0x755230\n// > MemberListPopup::applyAddOutcome @ 0x75599c\n// > ThreadViewPopup::onSend @ 0x75dc56\n// > EditorSoundBrowserLayer::setTextPopupClosed @ 0x783674\n// > EditorSoundBrowserLayer::setTextPopupClosed @ 0x7836ac\n// > EditorSoundConfigInfoLayer::onFavorite @ 0x785280\n// > EditorSoundConfigInfoLayer::downloadEditorSoundFailed @ 0x7857b0\n// > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x785886\n// > EditorSoundConfigInfoLayer::deleteEditorSoundFailed @ 0x785934\n// > SoundPackDescPopup::onSave @ 0x7859fa\n// > EditorSoundConfigInfoLayer::applyConfig @ 0x785e42\n// > EditorSoundConfigInfoLayer::applyConfig @ 0x785ea0\n// > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0x7862b2\n// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788896\n// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x78891c\n// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788a0c\n// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788ab6\n// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788b2a\n// > EditorSoundConfigUploadPopup::uploadEditorSoundFailed @ 0x788f04\n// > EditorSoundConfigUploadPopup::performUpload @ 0x789000\n// > EditorSoundConfigUploadPopup::performUpload @ 0x789050\n// > EditorSoundConfigUploadPopup::performUpload @ 0x7890a0\n// > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x78931c\n// > KeybindingsSettingsPopup::onExport @ 0x79704e\n// > KeybindingsSettingsPopup::onExport @ 0x797082\n// > PlatformerControlsPopup::onUpload @ 0x79e1bc\n// > ReportPopup::onSubmit @ 0x79fb1a\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:38 +0000\n// \n\nint *__fastcall FLAlertLayer::create(int a1, cocos2d::CCLabelBMFont *a2, int a3, ButtonSprite *a4, ButtonSprite *a5)\n{\n  int *v8; // r6\n  int v10[3]; // [sp+18h] [bp-14h] BYREF\n\n  std::string::basic_string(v10, a3);\n  v8 = FLAlertLayer::create(a1, a2, (int)v10, a4, a5, 250.0, 0, 0, 1.0);\n  std::string::~string((int)v10);\n  return v8;\n}", "assembly": "; \n; FLAlertLayer::create from 0x3cc2e8 to 0x3cc354 (108 bytes)\n; \n; 54 xrefs:\n; > GameToolbox::doWeHaveInternet @ 0x3cf80a\n; > CreateGuidelinesLayer::onClearGuidelines @ 0x3f7f26\n; > GameManager::showParentalRestrictedAlert @ 0x41534e\n; > LevelCell::onClick @ 0x427b56\n; > EditLevelLayer::onExportLevel @ 0x49fc72\n; > LevelBrowserLayer::showExportResult @ 0x4a5850\n; > LevelBrowserLayer::showImportResult @ 0x4a8a5a\n; > GameLevelManager::onUploadCommentCompleted @ 0x4c5506\n; > VideoOptionsLayer::onApply @ 0x52e47e\n; > InfoLayer::commentUploadFailed @ 0x53d77c\n; > MessagesProfilePage::onDeleteSelected @ 0x5efbb2\n; > FRequestProfilePage::onDeleteSelected @ 0x5f187c\n; > ProfilePage::onFollow @ 0x5f6f4e\n; > ProfilePage::followUserFailed @ 0x5f7012\n; > ProfilePage::commentUploadFailed @ 0x5f7250\n; > ProfilePage::commentDeleteFailed @ 0x5fb6a4\n; > LevelAreaInnerLayer::onNextFloor @ 0x6a3dd0\n; > NewsPopup::onBlockClicked @ 0x6c2b60\n; > GameSettingsLayer::onCustomButton @ 0x710bf8\n; > AutoBackupPopup::onRestore @ 0x73cd14\n; > AutoBackupPopup::onDelete @ 0x73cec0\n; > NotificationsPage::notificationRewardFailed @ 0x743e6e\n; > NotificationsPage::notificationMuteFailed @ 0x743ee6\n; > ThreadDescPopup::onSave @ 0x75481a\n; > NewThreadPopup::onSend @ 0x754be4\n; > NewThreadPopup::onSend @ 0x754d2a\n; > NewThreadPopup::onSend @ 0x754d92\n; > NewThreadPopup::onSend @ 0x755230\n; > MemberListPopup::applyAddOutcome @ 0x75599c\n; > ThreadViewPopup::onSend @ 0x75dc56\n; > EditorSoundBrowserLayer::setTextPopupClosed @ 0x783674\n; > EditorSoundBrowserLayer::setTextPopupClosed @ 0x7836ac\n; > EditorSoundConfigInfoLayer::onFavorite @ 0x785280\n; > EditorSoundConfigInfoLayer::downloadEditorSoundFailed @ 0x7857b0\n; > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x785886\n; > EditorSoundConfigInfoLayer::deleteEditorSoundFailed @ 0x785934\n; > SoundPackDescPopup::onSave @ 0x7859fa\n; > EditorSoundConfigInfoLayer::applyConfig @ 0x785e42\n; > EditorSoundConfigInfoLayer::applyConfig @ 0x785ea0\n; > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0x7862b2\n; > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788896\n; > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x78891c\n; > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788a0c\n; > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788ab6\n; > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788b2a\n; > EditorSoundConfigUploadPopup::uploadEditorSoundFailed @ 0x788f04\n; > EditorSoundConfigUploadPopup::performUpload @ 0x789000\n; > EditorSoundConfigUploadPopup::performUpload @ 0x789050\n; > EditorSoundConfigUploadPopup::performUpload @ 0x7890a0\n; > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x78931c\n; > KeybindingsSettingsPopup::onExport @ 0x79704e\n; > KeybindingsSettingsPopup::onExport @ 0x797082\n; > PlatformerControlsPopup::onUpload @ 0x79e1bc\n; > ReportPopup::onSubmit @ 0x79fb1a\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:38 +0000\n; \nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x3cc2e8\nSUB             SP, SP, #0x2C                                          ; +0x4, 0x3cc2ec\nLDR             R4, =(__stack_chk_guard_ptr - 0x3CC2FA)                ; +0x6, 0x3cc2ee\nMOV             R6, R3                                                 ; +0x8, 0x3cc2f0\nADD             R5, SP, #0x2C+var_14                                   ; +0xa, 0x3cc2f2\nMOV             R8, R0                                                 ; +0xc, 0x3cc2f4\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x3cc2f6\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x3cc2f8\nMOV             R7, R1                                                 ; +0x12, 0x3cc2fa\nMOV             R0, R5                                                 ; +0x14, 0x3cc2fc\nMOV             R1, R2                                                 ; +0x16, 0x3cc2fe\nLDR             R3, [R4]                                               ; +0x18, 0x3cc300\nLDR.W           R9, [SP,#0x2C+arg_0]                                   ; +0x1a, 0x3cc302\nSTR             R3, [SP,#0x2C+var_8]                                   ; +0x1e, 0x3cc306\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x20, 0x3cc308\nLDR             R3, flt_3CC354                                         ; +0x24, 0x3cc30c\nMOV             R0, R8; int                                            ; +0x26, 0x3cc30e\nSTR.W           R9, [SP,#0x2C+var_2C]; int                             ; +0x28, 0x3cc310\nMOV             R1, R7; int                                            ; +0x2c, 0x3cc314\nMOV             R2, R5; int                                            ; +0x2e, 0x3cc316\nSTR             R3, [SP,#0x2C+var_28]; float                           ; +0x30, 0x3cc318\nMOVS            R3, #0                                                 ; +0x32, 0x3cc31a\nSTR             R3, [SP,#0x2C+var_24]; char                            ; +0x34, 0x3cc31c\nMOVS            R3, #0                                                 ; +0x36, 0x3cc31e\nSTR             R3, [SP,#0x2C+var_20]; int                             ; +0x38, 0x3cc320\nMOV.W           R3, #0x3F800000                                        ; +0x3a, 0x3cc322\nSTR             R3, [SP,#0x2C+var_1C]; float                           ; +0x3e, 0x3cc326\nMOV             R3, R6; int                                            ; +0x40, 0x3cc328\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_fbff; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float,bool,float,float) ; +0x42, 0x3cc32a\nMOV             R6, R0                                                 ; +0x46, 0x3cc32e\nMOV             R0, R5                                                 ; +0x48, 0x3cc330\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4a, 0x3cc332\nLDR             R2, [SP,#0x2C+var_8]                                   ; +0x4e, 0x3cc336\nLDR             R3, [R4]                                               ; +0x50, 0x3cc338\nMOV             R0, R6                                                 ; +0x52, 0x3cc33a\nCMP             R2, R3                                                 ; +0x54, 0x3cc33c\nBEQ             loc_3CC34E                                             ; +0x56, 0x3cc33e\nBLX             __stack_chk_fail                                       ; +0x58, 0x3cc340\nMOV             R0, R5                                                 ; +0x5c, 0x3cc344\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x5e, 0x3cc346\nBL              __cxa_end_cleanup                                      ; +0x62, 0x3cc34a\nADD             SP, SP, #0x2C ; ','                                    ; +0x66, 0x3cc34e\nPOP.W           {R4-R9,PC}                                             ; +0x68, 0x3cc350", "xrefs": ["GameToolbox::doWeHaveInternet @ 0x3cf80a", "CreateGuidelinesLayer::onClearGuidelines @ 0x3f7f26", "GameManager::showParentalRestrictedAlert @ 0x41534e", "LevelCell::onClick @ 0x427b56", "EditLevelLayer::onExportLevel @ 0x49fc72", "LevelBrowserLayer::showExportResult @ 0x4a5850", "LevelBrowserLayer::showImportResult @ 0x4a8a5a", "GameLevelManager::onUploadCommentCompleted @ 0x4c5506", "VideoOptionsLayer::onApply @ 0x52e47e", "InfoLayer::commentUploadFailed @ 0x53d77c", "MessagesProfilePage::onDeleteSelected @ 0x5efbb2", "FRequestProfilePage::onDeleteSelected @ 0x5f187c", "ProfilePage::onFollow @ 0x5f6f4e", "ProfilePage::followUserFailed @ 0x5f7012", "ProfilePage::commentUploadFailed @ 0x5f7250", "ProfilePage::commentDeleteFailed @ 0x5fb6a4", "LevelAreaInnerLayer::onNextFloor @ 0x6a3dd0", "NewsPopup::onBlockClicked @ 0x6c2b60", "GameSettingsLayer::onCustomButton @ 0x710bf8", "AutoBackupPopup::onRestore @ 0x73cd14", "AutoBackupPopup::onDelete @ 0x73cec0", "NotificationsPage::notificationRewardFailed @ 0x743e6e", "NotificationsPage::notificationMuteFailed @ 0x743ee6", "ThreadDescPopup::onSave @ 0x75481a", "NewThreadPopup::onSend @ 0x754be4", "NewThreadPopup::onSend @ 0x754d2a", "NewThreadPopup::onSend @ 0x754d92", "NewThreadPopup::onSend @ 0x755230", "MemberListPopup::applyAddOutcome @ 0x75599c", "ThreadViewPopup::onSend @ 0x75dc56", "EditorSoundBrowserLayer::setTextPopupClosed @ 0x783674", "EditorSoundBrowserLayer::setTextPopupClosed @ 0x7836ac", "EditorSoundConfigInfoLayer::onFavorite @ 0x785280", "EditorSoundConfigInfoLayer::downloadEditorSoundFailed @ 0x7857b0", "EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x785886", "EditorSoundConfigInfoLayer::deleteEditorSoundFailed @ 0x785934", "SoundPackDescPopup::onSave @ 0x7859fa", "EditorSoundConfigInfoLayer::applyConfig @ 0x785e42", "EditorSoundConfigInfoLayer::applyConfig @ 0x785ea0", "EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0x7862b2", "EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788896", "EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x78891c", "EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788a0c", "EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788ab6", "EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788b2a", "EditorSoundConfigUploadPopup::uploadEditorSoundFailed @ 0x788f04", "EditorSoundConfigUploadPopup::performUpload @ 0x789000", "EditorSoundConfigUploadPopup::performUpload @ 0x789050", "EditorSoundConfigUploadPopup::performUpload @ 0x7890a0", "EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x78931c", "KeybindingsSettingsPopup::onExport @ 0x79704e", "KeybindingsSettingsPopup::onExport @ 0x797082", "PlatformerControlsPopup::onUpload @ 0x79e1bc", "ReportPopup::onSubmit @ 0x79fb1a"], "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"}