{"type": "func", "start": 4584828, "end": 4584922, "name": "CustomSongLayer::showNewgroundsMessage", "pseudocode": "// \n// CustomSongLayer::showNewgroundsMessage from 0x45f57c to 0x45f5da (94 bytes)\n// \n// 1 xrefs:\n// > CustomSongLayer::onSearch @ 0x45f61c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CustomSongLayer::showNewgroundsMessage(CustomSongLayer *a1)\n{\n  FLAlertLayer *v1; // r6\n  _BYTE v2[4]; // [sp+10h] [bp-8h] BYREF\n\n  sub_776584(\n    (int)v2,\n    \"There are thousands of great custom songs for you to choose from Newgrounds. Please do not upload music you did not \"\n    \"create. You are only allowed to use songs from artists that have been scouted on Newgrounds. For more information, p\"\n    \"lease check the <cy>Audio Guidelines</c>.\");\n  v1 = FLAlertLayer::create(0, (int)\"Newgrounds Info\", (int)v2, (int)\"OK\", 0, 380.0);\n  sub_774008(v2);\n  v1->show(v1);\n}", "assembly": "; \n; CustomSongLayer::showNewgroundsMessage from 0x45f57c to 0x45f5da (94 bytes)\n; \n; 1 xrefs:\n; > CustomSongLayer::onSearch @ 0x45f61c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x45f57c\nSUB             SP, SP, #0x18                                          ; +0x2, 0x45f57e\nLDR             R4, =(__stack_chk_guard_ptr - 0x45F58C)                ; +0x4, 0x45f580\nADD             R5, SP, #0x18+var_8                                    ; +0x6, 0x45f582\nLDR             R1, =(aThereAreThousa - 0x45F592); \"There are thousands of great custom son\"... ; +0x8, 0x45f584\nADD             R2, SP, #0x18+var_C                                    ; +0xa, 0x45f586\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x45f588\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x45f58a\nMOV             R0, R5; int                                            ; +0x10, 0x45f58c\nADD             R1, PC; \"There are thousands of great custom son\"...   ; +0x12, 0x45f58e\nLDR             R3, [R4]                                               ; +0x14, 0x45f590\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x16, 0x45f592\nBL              sub_776584                                             ; +0x18, 0x45f594\nLDR             R3, flt_45F5DC                                         ; +0x1c, 0x45f598\nMOVS            R0, #0; int                                            ; +0x1e, 0x45f59a\nLDR             R1, =(aNewgroundsInfo - 0x45F5A8); \"Newgrounds Info\"   ; +0x20, 0x45f59c\nMOV             R2, R5; int                                            ; +0x22, 0x45f59e\nSTR             R0, [SP,#0x18+var_18]; int                             ; +0x24, 0x45f5a0\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x26, 0x45f5a2\nADD             R1, PC; \"Newgrounds Info\"                              ; +0x28, 0x45f5a4\nLDR             R3, =(aOk - 0x45F5AC); \"OK\"                            ; +0x2a, 0x45f5a6\nADD             R3, PC; \"OK\"                                           ; +0x2c, 0x45f5a8\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x2e, 0x45f5aa\nMOV             R6, R0                                                 ; +0x32, 0x45f5ae\nMOV             R0, R5                                                 ; +0x34, 0x45f5b0\nBL              sub_774008                                             ; +0x36, 0x45f5b2\nLDR             R3, [R6]                                               ; +0x3a, 0x45f5b6\nMOV             R0, R6                                                 ; +0x3c, 0x45f5b8\nLDR.W           R3, [R3,#0x284]                                        ; +0x3e, 0x45f5ba\nBLX             R3                                                     ; +0x42, 0x45f5be\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x44, 0x45f5c0\nLDR             R3, [R4]                                               ; +0x46, 0x45f5c2\nCMP             R2, R3                                                 ; +0x48, 0x45f5c4\nBEQ             loc_45F5D6                                             ; +0x4a, 0x45f5c6\nBLX             __stack_chk_fail                                       ; +0x4c, 0x45f5c8\nMOV             R0, R5                                                 ; +0x50, 0x45f5cc\nBL              sub_774008                                             ; +0x52, 0x45f5ce\nBL              __cxa_end_cleanup                                      ; +0x56, 0x45f5d2\nADD             SP, SP, #0x18                                          ; +0x5a, 0x45f5d6\nPOP             {R4-R6,PC}                                             ; +0x5c, 0x45f5d8", "xrefs": ["CustomSongLayer::onSearch @ 0x45f61c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}