{"type": "func", "start": 5754312, "end": 5754416, "name": "CustomSongLayer::showNewgroundsMessage", "pseudocode": "// \n// CustomSongLayer::showNewgroundsMessage from 0x57cdc8 to 0x57ce30 (104 bytes)\n// \n// 1 xrefs:\n// > CustomSongLayer::onSearch @ 0x57ce72\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:52:50 +0000\n// \n\nint __fastcall CustomSongLayer::showNewgroundsMessage(CustomSongLayer *this)\n{\n  int *v1; // r5\n  int v3[3]; // [sp+8h] [bp-10h] BYREF\n\n  memset(v3, 0, sizeof(v3));\n  std::string::__init(\n    v3,\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    0x111u);\n  v1 = FLAlertLayer::create(\n         0,\n         (cocos2d::CCLabelBMFont *)\"Newgrounds Info\",\n         (int)v3,\n         (ButtonSprite *)\"OK\",\n         nullptr,\n         380.0);\n  std::string::~string((int)v3);\n  return (*(int (__fastcall **)(int *))(*v1 + 656))(v1);\n}", "assembly": "; \n; CustomSongLayer::showNewgroundsMessage from 0x57cdc8 to 0x57ce30 (104 bytes)\n; \n; 1 xrefs:\n; > CustomSongLayer::onSearch @ 0x57ce72\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:52:50 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x57cdc8\nSUB             SP, SP, #0x18                                          ; +0x2, 0x57cdca\nLDR             R4, =(__stack_chk_guard_ptr - 0x57CDDA)                ; +0x4, 0x57cdcc\nADD             R6, SP, #0x18+var_10                                   ; +0x6, 0x57cdce\nLDR             R1, =(aThereAreThousa - 0x57CDE0); \"There are thousands of great custom son\"... ; +0x8, 0x57cdd0\nMOVW            R2, #0x111                                             ; +0xa, 0x57cdd2\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x57cdd6\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x57cdd8\nMOV             R0, R6                                                 ; +0x12, 0x57cdda\nADD             R1, PC; \"There are thousands of great custom son\"...   ; +0x14, 0x57cddc\nMOVS            R5, #0                                                 ; +0x16, 0x57cdde\nLDR             R3, [R4]                                               ; +0x18, 0x57cde0\nSTR             R5, [SP,#0x18+var_10]                                  ; +0x1a, 0x57cde2\nSTR             R5, [SP,#0x18+var_C]                                   ; +0x1c, 0x57cde4\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x1e, 0x57cde6\nSTR             R5, [SP,#0x18+var_8]                                   ; +0x20, 0x57cde8\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x22, 0x57cdea\nLDR             R3, flt_57CE30                                         ; +0x26, 0x57cdee\nMOV             R0, R5; int                                            ; +0x28, 0x57cdf0\nLDR             R1, =(aNewgroundsInfo - 0x57CDFE); \"Newgrounds Info\"   ; +0x2a, 0x57cdf2\nMOV             R2, R6; int                                            ; +0x2c, 0x57cdf4\nSTR             R5, [SP,#0x18+var_18]; int                             ; +0x2e, 0x57cdf6\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x30, 0x57cdf8\nADD             R1, PC; \"Newgrounds Info\"                              ; +0x32, 0x57cdfa\nLDR             R3, =(aOk - 0x57CE02); \"OK\"                            ; +0x34, 0x57cdfc\nADD             R3, PC; \"OK\"                                           ; +0x36, 0x57cdfe\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x38, 0x57ce00\nMOV             R5, R0                                                 ; +0x3c, 0x57ce04\nMOV             R0, R6                                                 ; +0x3e, 0x57ce06\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x40, 0x57ce08\nLDR             R3, [R5]                                               ; +0x44, 0x57ce0c\nMOV             R0, R5                                                 ; +0x46, 0x57ce0e\nLDR.W           R3, [R3,#0x290]                                        ; +0x48, 0x57ce10\nBLX             R3                                                     ; +0x4c, 0x57ce14\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x4e, 0x57ce16\nLDR             R3, [R4]                                               ; +0x50, 0x57ce18\nCMP             R2, R3                                                 ; +0x52, 0x57ce1a\nBEQ             loc_57CE2C                                             ; +0x54, 0x57ce1c\nBLX             __stack_chk_fail                                       ; +0x56, 0x57ce1e\nMOV             R0, R6                                                 ; +0x5a, 0x57ce22\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x5c, 0x57ce24\nBL              __cxa_end_cleanup                                      ; +0x60, 0x57ce28\nADD             SP, SP, #0x18                                          ; +0x64, 0x57ce2c\nPOP             {R4-R6,PC}                                             ; +0x66, 0x57ce2e", "xrefs": ["CustomSongLayer::onSearch @ 0x57ce72"], "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"}