{"type": "func", "start": 4296890968, "end": 4296891136, "name": "MusicDownloadManager::showTOS", "pseudocode": "// \n// MusicDownloadManager::showTOS from 0x1001d5a58 to 0x1001d5b00 (168 bytes)\n// \n// 3 xrefs:\n// > CustomSongWidget::onDownload @ 0x10011f62c\n// > sub_1001C61A0 @ 0x1001c61f8\n// > sub_10038C32C @ 0x10038c3dc\n// \n// This function is hookable on this platform (idp: arm, 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 11:00:25 +0000\n// \n\n__int64 __fastcall MusicDownloadManager::showTOS(__int64 a1, __int64 a2)\n{\n  __int64 v3; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  sub_100009900(\n    __p,\n    \"Important notification - Terms of use. RobTop Games provides a library of music and sound effects for creative use w\"\n    \"ithin Geometry Dash. You are free to use these assets for creating and sharing levels within the game. However, redi\"\n    \"stributing, selling, manipulating, or using these assets outside the game is prohibited. If you share game-related c\"\n    \"ontent on social media or upload videos featuring custom music, please give credit to the respective artist. Regardi\"\n    \"ng music from Newgrounds.com: Some custom songs are available via a third party website, Newgrounds.com. These songs\"\n    \", created by artists using Newgrounds.com, are under Creative Commons licensing terms accessible on Newgrounds.com. \"\n    \"By downloading a song from Newgrounds, you accept these terms and any others designated by Newgrounds. RobTop Games \"\n    \"is not the provider of songs from Newgrounds.com, nor a party to the licensing agreements, and does not store any au\"\n    \"dio files downloaded from Newgrounds.com. You are responsible for the content you create using all music and sound e\"\n    \"ffects provided. Ensure your creations adhere to the game's community guidelines and do not infringe on any rights. \"\n    \"The availability of music and sound effects in Geometry Dash is subject to change. RobTop Games may add or remove co\"\n    \"ntent from both the custom library and the Newgrounds.com selection without prior notice. We do not guarantee the co\"\n    \"ntinuous availability or suitability of any music or sound effects in the game. We may update these terms at any tim\"\n    \"e, with your continued use of Geometry Dash signifying acceptance of any changes. By clicking the 'I Accept' button,\"\n    \" you acknowledge and approve of the above-stated terms of use.\");\n  v3 = FLAlertLayer::create(a2, \"Terms of Use\", __p, \"Cancel\", \"I Accept\", 1, 400.0, 280.0, 1.0);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 72LL))(v3, 1);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);\n}", "assembly": "; \n; MusicDownloadManager::showTOS from 0x1001d5a58 to 0x1001d5b00 (168 bytes)\n; \n; 3 xrefs:\n; > CustomSongWidget::onDownload @ 0x10011f62c\n; > sub_1001C61A0 @ 0x1001c61f8\n; > sub_10038C32C @ 0x10038c3dc\n; \n; This function is hookable on this platform (idp: arm, 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 11:00:25 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1001d5a58\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1001d5a5c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1001d5a60\nADD             X29, SP, #0x30                                         ; +0xc, 0x1001d5a64\nMOV             X19, X1                                                ; +0x10, 0x1001d5a68\nADRL            X1, aImportantNotif; \"Important notification - Terms of use. \"... ; +0x14, 0x1001d5a6c\nADD             X0, SP, #0x30+__p; int                                 ; +0x1c, 0x1001d5a74\nBL              sub_100009900                                          ; +0x20, 0x1001d5a78\nADRL            X1, aTermsOfUse; \"Terms of Use\"                        ; +0x24, 0x1001d5a7c\nADRL            X3, aCancel; \"Cancel\"                                  ; +0x2c, 0x1001d5a84\nADRL            X4, aIAccept; \"I Accept\"                               ; +0x34, 0x1001d5a8c\nMOV             W8, #0x43C80000                                        ; +0x3c, 0x1001d5a94\nFMOV            S0, W8                                                 ; +0x40, 0x1001d5a98\nMOV             W8, #0x438C0000                                        ; +0x44, 0x1001d5a9c\nFMOV            S1, W8                                                 ; +0x48, 0x1001d5aa0\nADD             X2, SP, #0x30+__p                                      ; +0x4c, 0x1001d5aa4\nFMOV            S2, #1.0                                               ; +0x50, 0x1001d5aa8\nMOV             X0, X19                                                ; +0x54, 0x1001d5aac\nMOV             W5, #1                                                 ; +0x58, 0x1001d5ab0\nBL              FLAlertLayer__create                                   ; +0x5c, 0x1001d5ab4\nMOV             X19, X0                                                ; +0x60, 0x1001d5ab8\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x64, 0x1001d5abc\nTBZ             W8, #0x1F, loc_1001D5ACC                               ; +0x68, 0x1001d5ac0\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x6c, 0x1001d5ac4\nBL              __ZdlPv; operator delete(void *)                       ; +0x70, 0x1001d5ac8\nLDR             X8, [X19]                                              ; +0x74, 0x1001d5acc\nLDR             X8, [X8,#0x48]                                         ; +0x78, 0x1001d5ad0\nMOV             X0, X19                                                ; +0x7c, 0x1001d5ad4\nMOV             W1, #1                                                 ; +0x80, 0x1001d5ad8\nBLR             X8                                                     ; +0x84, 0x1001d5adc\nLDR             X8, [X19]                                              ; +0x88, 0x1001d5ae0\nLDR             X8, [X8,#0x520]                                        ; +0x8c, 0x1001d5ae4\nMOV             X0, X19                                                ; +0x90, 0x1001d5ae8\nBLR             X8                                                     ; +0x94, 0x1001d5aec\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x98, 0x1001d5af0\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x9c, 0x1001d5af4\nADD             SP, SP, #0x40 ; '@'                                    ; +0xa0, 0x1001d5af8\nRET                                                                    ; +0xa4, 0x1001d5afc", "xrefs": ["CustomSongWidget::onDownload @ 0x10011f62c", "sub_1001C61A0 @ 0x1001c61f8", "sub_10038C32C @ 0x10038c3dc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}