{"type": "func", "start": 4298133144, "end": 4298133296, "name": "MenuLayer::onNewgrounds", "pseudocode": "// \n// MenuLayer::onNewgrounds from 0x100304e98 to 0x100304f30 (152 bytes)\n// \n// 1 xrefs:\n// > MenuLayer::init @ 0x100303dc8\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:03:07 +0000\n// \n\n__int64 __fastcall MenuLayer::onNewgrounds(__int64 a1)\n{\n  __int64 v2; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  sub_100009900(__p, \"Visit Newgrounds to find awesome music?\");\n  v2 = FLAlertLayer::create_1(a1 + 408, \"Newgrounds\", __p, \"Cancel\", \"Open\", 300.0);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 72LL))(v2, 3);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);\n}", "assembly": "; \n; MenuLayer::onNewgrounds from 0x100304e98 to 0x100304f30 (152 bytes)\n; \n; 1 xrefs:\n; > MenuLayer::init @ 0x100303dc8\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:03:07 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x100304e98\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100304e9c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100304ea0\nADD             X29, SP, #0x30                                         ; +0xc, 0x100304ea4\nMOV             X19, X0                                                ; +0x10, 0x100304ea8\nADRL            X1, aVisitNewground; \"Visit Newgrounds to find awesome music?\" ; +0x14, 0x100304eac\nADD             X0, SP, #0x30+__p; int                                 ; +0x1c, 0x100304eb4\nBL              sub_100009900                                          ; +0x20, 0x100304eb8\nADRL            X1, aNewgrounds; \"Newgrounds\"                          ; +0x24, 0x100304ebc\nADRL            X3, aCancel; \"Cancel\"                                  ; +0x2c, 0x100304ec4\nADRL            X4, aOpen; \"Open\"                                      ; +0x34, 0x100304ecc\nMOV             W8, #0x43960000                                        ; +0x3c, 0x100304ed4\nFMOV            S0, W8                                                 ; +0x40, 0x100304ed8\nADD             X0, X19, #0x198                                        ; +0x44, 0x100304edc\nADD             X2, SP, #0x30+__p                                      ; +0x48, 0x100304ee0\nBL              FLAlertLayer__create_1                                 ; +0x4c, 0x100304ee4\nMOV             X19, X0                                                ; +0x50, 0x100304ee8\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x54, 0x100304eec\nTBZ             W8, #0x1F, loc_100304EFC                               ; +0x58, 0x100304ef0\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x5c, 0x100304ef4\nBL              __ZdlPv; operator delete(void *)                       ; +0x60, 0x100304ef8\nLDR             X8, [X19]                                              ; +0x64, 0x100304efc\nLDR             X8, [X8,#0x48]                                         ; +0x68, 0x100304f00\nMOV             X0, X19                                                ; +0x6c, 0x100304f04\nMOV             W1, #3                                                 ; +0x70, 0x100304f08\nBLR             X8                                                     ; +0x74, 0x100304f0c\nLDR             X8, [X19]                                              ; +0x78, 0x100304f10\nLDR             X8, [X8,#0x520]                                        ; +0x7c, 0x100304f14\nMOV             X0, X19                                                ; +0x80, 0x100304f18\nBLR             X8                                                     ; +0x84, 0x100304f1c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x88, 0x100304f20\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x8c, 0x100304f24\nADD             SP, SP, #0x40 ; '@'                                    ; +0x90, 0x100304f28\nRET                                                                    ; +0x94, 0x100304f2c", "xrefs": ["MenuLayer::init @ 0x100303dc8"], "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"}