{"type": "func", "start": 4295153976, "end": 4295154116, "name": "LevelInfoLayer::showUpdateAlert", "pseudocode": "// \n// LevelInfoLayer::showUpdateAlert from 0x10002d938 to 0x10002d9c4 (140 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::onUpdate @ 0x10002b9f4\n// > LevelInfoLayer::levelUpdateFinished @ 0x10002d910\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 10:57:29 +0000\n// \n\nvoid __fastcall LevelInfoLayer::showUpdateAlert(__int64 a1, int a2)\n{\n  __int64 v2; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v4; // [xsp+1Fh] [xbp-11h]\n\n  if ( (unsigned int)(a2 - 1) <= 2 )\n  {\n    sub_100009900(__p, off_1008B0D70[a2 - 1]);\n    v2 = FLAlertLayer::create_1(0, \"Update\", __p, \"OK\", 0, 300.0);\n    if ( v4 < 0 )\n      operator delete(__p[0]);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);\n  }\n}", "assembly": "; \n; LevelInfoLayer::showUpdateAlert from 0x10002d938 to 0x10002d9c4 (140 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::onUpdate @ 0x10002b9f4\n; > LevelInfoLayer::levelUpdateFinished @ 0x10002d910\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 10:57:29 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x10002d938\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10002d93c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10002d940\nADD             X29, SP, #0x30                                         ; +0xc, 0x10002d944\nSUB             W8, W1, #1                                             ; +0x10, 0x10002d948\nCMP             W8, #2                                                 ; +0x14, 0x10002d94c\nB.HI            loc_10002D9B4                                          ; +0x18, 0x10002d950\nADRL            X9, off_1008B0D70; \"Level is up to date.\"              ; +0x1c, 0x10002d954\nLDR             X1, [X9,W8,UXTW#3]; __s                                ; +0x24, 0x10002d95c\nADD             X0, SP, #0x30+__p; int                                 ; +0x28, 0x10002d960\nBL              sub_100009900                                          ; +0x2c, 0x10002d964\nADRL            X1, aUpdate; \"Update\"                                  ; +0x30, 0x10002d968\nADRL            X3, aOk; \"OK\"                                          ; +0x38, 0x10002d970\nMOV             W8, #0x43960000                                        ; +0x40, 0x10002d978\nFMOV            S0, W8                                                 ; +0x44, 0x10002d97c\nADD             X2, SP, #0x30+__p                                      ; +0x48, 0x10002d980\nMOV             X0, #0                                                 ; +0x4c, 0x10002d984\nMOV             X4, #0                                                 ; +0x50, 0x10002d988\nBL              FLAlertLayer__create_1                                 ; +0x54, 0x10002d98c\nMOV             X19, X0                                                ; +0x58, 0x10002d990\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x5c, 0x10002d994\nTBZ             W8, #0x1F, loc_10002D9A4                               ; +0x60, 0x10002d998\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x64, 0x10002d99c\nBL              __ZdlPv; operator delete(void *)                       ; +0x68, 0x10002d9a0\nLDR             X8, [X19]                                              ; +0x6c, 0x10002d9a4\nLDR             X8, [X8,#0x520]                                        ; +0x70, 0x10002d9a8\nMOV             X0, X19                                                ; +0x74, 0x10002d9ac\nBLR             X8                                                     ; +0x78, 0x10002d9b0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x7c, 0x10002d9b4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x80, 0x10002d9b8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x84, 0x10002d9bc\nRET                                                                    ; +0x88, 0x10002d9c0", "xrefs": ["LevelInfoLayer::onUpdate @ 0x10002b9f4", "LevelInfoLayer::levelUpdateFinished @ 0x10002d910"], "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"}