{"type": "func", "start": 4297153504, "end": 4297153646, "name": "CustomSongLayer::showNewgroundsMessage", "pseudocode": "// \n// CustomSongLayer::showNewgroundsMessage from 0x100215be0 to 0x100215c6e (142 bytes)\n// \n// 0 xrefs:\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 __fastcall CustomSongLayer::showNewgroundsMessage(CustomSongLayer *a1)\n{\n  __int64 v1; // rbx\n  _QWORD v2[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0x118u);\n  v2[0] = 281;\n  v2[1] = 273;\n  strcpy(\n    (char *)__p,\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_1(0, \"Newgrounds Info\", v2, \"OK\", 0, 380.0);\n  if ( (v2[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 1288LL))(v1);\n}", "assembly": "; \n; CustomSongLayer::showNewgroundsMessage from 0x100215be0 to 0x100215c6e (142 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x100215be0\nmov     rbp, rsp                                                       ; +0x1, 0x100215be1\npush    rbx                                                            ; +0x4, 0x100215be4\nsub     rsp, 18h                                                       ; +0x5, 0x100215be5\nmov     edi, 118h; __sz                                                ; +0x9, 0x100215be9\ncall    __Znwm; operator new(ulong)                                    ; +0xe, 0x100215bee\nmov     rbx, rax                                                       ; +0x13, 0x100215bf3\nmov     [rbp+__p], rax                                                 ; +0x16, 0x100215bf6\nmov     [rbp+var_20], 119h                                             ; +0x1a, 0x100215bfa\nmov     [rbp+var_18], 111h                                             ; +0x22, 0x100215c02\nlea     rsi, aThereAreThousa; \"There are thousands of great custom son\"... ; +0x2a, 0x100215c0a\nmov     edx, 111h; __n                                                 ; +0x31, 0x100215c11\nmov     rdi, rax; __dst                                                ; +0x36, 0x100215c16\ncall    _memcpy                                                        ; +0x39, 0x100215c19\nmov     byte ptr [rbx+111h], 0                                         ; +0x3e, 0x100215c1e\nlea     rsi, aNewgroundsInfo; \"Newgrounds Info\"                        ; +0x45, 0x100215c25\nlea     rcx, aOk; \"OK\"                                                 ; +0x4c, 0x100215c2c\nlea     rdx, [rbp+var_20]                                              ; +0x53, 0x100215c33\nmovss   xmm0, cs:dword_1008152BC                                       ; +0x57, 0x100215c37\nxor     edi, edi                                                       ; +0x5f, 0x100215c3f\nxor     r8d, r8d                                                       ; +0x61, 0x100215c41\ncall    FLAlertLayer__create_1                                         ; +0x64, 0x100215c44\nmov     rbx, rax                                                       ; +0x69, 0x100215c49\ntest    byte ptr [rbp+var_20], 1                                       ; +0x6c, 0x100215c4c\njz      short loc_100215C5B                                            ; +0x70, 0x100215c50\nmov     rdi, [rbp+__p]; __p                                            ; +0x72, 0x100215c52\ncall    __ZdlPv; operator delete(void *)                               ; +0x76, 0x100215c56\nmov     rax, [rbx]                                                     ; +0x7b, 0x100215c5b\nmov     rdi, rbx                                                       ; +0x7e, 0x100215c5e\ncall    qword ptr [rax+508h]                                           ; +0x81, 0x100215c61\nadd     rsp, 18h                                                       ; +0x87, 0x100215c67\npop     rbx                                                            ; +0x8b, 0x100215c6b\npop     rbp                                                            ; +0x8c, 0x100215c6c\nretn                                                                   ; +0x8d, 0x100215c6d", "xrefs": [], "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"}