{"type": "func", "start": 4297036224, "end": 4297036366, "name": "CustomSongLayer::showNewgroundsMessage", "pseudocode": "// \n// CustomSongLayer::showNewgroundsMessage from 0x1001f91c0 to 0x1001f924e (142 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:26:49 +0000\n// \n\n__int64 CustomSongLayer::showNewgroundsMessage()\n{\n  __int64 v0; // 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  v0 = FLAlertLayer::create_1(0, \"Newgrounds Info\", v2, \"OK\", 0, 380.0);\n  if ( (v2[0] & 1) != 0 )\n    operator delete(__p);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v0 + 1312LL))(v0);\n}", "assembly": "; \n; CustomSongLayer::showNewgroundsMessage from 0x1001f91c0 to 0x1001f924e (142 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:26:49 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001f91c0\nmov     rbp, rsp                                                       ; +0x1, 0x1001f91c1\npush    rbx                                                            ; +0x4, 0x1001f91c4\nsub     rsp, 18h                                                       ; +0x5, 0x1001f91c5\nmov     edi, 118h; __sz                                                ; +0x9, 0x1001f91c9\ncall    __Znwm; operator new(ulong)                                    ; +0xe, 0x1001f91ce\nmov     rbx, rax                                                       ; +0x13, 0x1001f91d3\nmov     [rbp+__p], rax                                                 ; +0x16, 0x1001f91d6\nmov     [rbp+var_20], 119h                                             ; +0x1a, 0x1001f91da\nmov     [rbp+var_18], 111h                                             ; +0x22, 0x1001f91e2\nlea     rsi, aThereAreThousa; \"There are thousands of great custom son\"... ; +0x2a, 0x1001f91ea\nmov     edx, 111h; __n                                                 ; +0x31, 0x1001f91f1\nmov     rdi, rax; __dst                                                ; +0x36, 0x1001f91f6\ncall    _memcpy                                                        ; +0x39, 0x1001f91f9\nmov     byte ptr [rbx+111h], 0                                         ; +0x3e, 0x1001f91fe\nlea     rsi, aNewgroundsInfo; \"Newgrounds Info\"                        ; +0x45, 0x1001f9205\nlea     rcx, aOk; \"OK\"                                                 ; +0x4c, 0x1001f920c\nlea     rdx, [rbp+var_20]                                              ; +0x53, 0x1001f9213\nmovss   xmm0, cs:dword_100A03824                                       ; +0x57, 0x1001f9217\nxor     edi, edi                                                       ; +0x5f, 0x1001f921f\nxor     r8d, r8d                                                       ; +0x61, 0x1001f9221\ncall    FLAlertLayer__create_1                                         ; +0x64, 0x1001f9224\nmov     rbx, rax                                                       ; +0x69, 0x1001f9229\ntest    byte ptr [rbp+var_20], 1                                       ; +0x6c, 0x1001f922c\njz      short loc_1001F923B                                            ; +0x70, 0x1001f9230\nmov     rdi, [rbp+__p]; __p                                            ; +0x72, 0x1001f9232\ncall    __ZdlPv; operator delete(void *)                               ; +0x76, 0x1001f9236\nmov     rax, [rbx]                                                     ; +0x7b, 0x1001f923b\nmov     rdi, rbx                                                       ; +0x7e, 0x1001f923e\ncall    qword ptr [rax+520h]                                           ; +0x81, 0x1001f9241\nadd     rsp, 18h                                                       ; +0x87, 0x1001f9247\npop     rbx                                                            ; +0x8b, 0x1001f924b\npop     rbp                                                            ; +0x8c, 0x1001f924c\nretn                                                                   ; +0x8d, 0x1001f924d", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}