{"type": "func", "start": 4297035564, "end": 4297035736, "name": "InfoAlertButton::activate", "pseudocode": "// \n// InfoAlertButton::activate from 0x1001f8f2c to 0x1001f8fd8 (172 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008f4b30\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:41 +0000\n// \n\n_BYTE *__fastcall InfoAlertButton::activate(_BYTE *result)\n{\n  float *v1; // x20\n  _QWORD *v2; // x19\n  char *v3; // x1\n  __int64 v4; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  if ( result[339] == 1 )\n  {\n    v1 = (float *)result;\n    v2 = result + 504;\n    if ( (char)result[527] < 0 )\n      v2 = (_QWORD *)*v2;\n    v3 = result + 528;\n    if ( (char)result[551] < 0 )\n      v3 = *(char **)v3;\n    sub_100009900(__p, v3);\n    v4 = FLAlertLayer::create(0, v2, __p, \"OK\", 0, *((unsigned __int8 *)v1 + 556), 430.0, 0.0, v1[138]);\n    if ( v6 < 0 )\n      operator delete(__p[0]);\n    return (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);\n  }\n  return result;\n}", "assembly": "; \n; InfoAlertButton::activate from 0x1001f8f2c to 0x1001f8fd8 (172 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008f4b30\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:41 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1001f8f2c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1001f8f30\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1001f8f34\nADD             X29, SP, #0x30                                         ; +0xc, 0x1001f8f38\nLDRB            W8, [X0,#0x153]                                        ; +0x10, 0x1001f8f3c\nCMP             W8, #1                                                 ; +0x14, 0x1001f8f40\nB.NE            loc_1001F8FC8                                          ; +0x18, 0x1001f8f44\nMOV             X20, X0                                                ; +0x1c, 0x1001f8f48\nADD             X19, X0, #0x1F8                                        ; +0x20, 0x1001f8f4c\nLDRSB           W8, [X0,#0x20F]                                        ; +0x24, 0x1001f8f50\nTBZ             W8, #0x1F, loc_1001F8F5C                               ; +0x28, 0x1001f8f54\nLDR             X19, [X19]                                             ; +0x2c, 0x1001f8f58\nADD             X1, X20, #0x210                                        ; +0x30, 0x1001f8f5c\nLDRSB           W8, [X20,#0x227]                                       ; +0x34, 0x1001f8f60\nTBZ             W8, #0x1F, loc_1001F8F6C                               ; +0x38, 0x1001f8f64\nLDR             X1, [X1]; __s                                          ; +0x3c, 0x1001f8f68\nADD             X0, SP, #0x30+__p; int                                 ; +0x40, 0x1001f8f6c\nBL              sub_100009900                                          ; +0x44, 0x1001f8f70\nLDRB            W5, [X20,#0x22C]                                       ; +0x48, 0x1001f8f74\nLDR             S2, [X20,#0x228]                                       ; +0x4c, 0x1001f8f78\nADRL            X3, aOk; \"OK\"                                          ; +0x50, 0x1001f8f7c\nMOV             W8, #0x43D70000                                        ; +0x58, 0x1001f8f84\nFMOV            S0, W8                                                 ; +0x5c, 0x1001f8f88\nADD             X2, SP, #0x30+__p                                      ; +0x60, 0x1001f8f8c\nFMOV            S1, WZR                                                ; +0x64, 0x1001f8f90\nMOV             X0, #0                                                 ; +0x68, 0x1001f8f94\nMOV             X1, X19                                                ; +0x6c, 0x1001f8f98\nMOV             X4, #0                                                 ; +0x70, 0x1001f8f9c\nBL              FLAlertLayer__create                                   ; +0x74, 0x1001f8fa0\nMOV             X19, X0                                                ; +0x78, 0x1001f8fa4\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x7c, 0x1001f8fa8\nTBZ             W8, #0x1F, loc_1001F8FB8                               ; +0x80, 0x1001f8fac\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x84, 0x1001f8fb0\nBL              __ZdlPv; operator delete(void *)                       ; +0x88, 0x1001f8fb4\nLDR             X8, [X19]                                              ; +0x8c, 0x1001f8fb8\nLDR             X8, [X8,#0x520]                                        ; +0x90, 0x1001f8fbc\nMOV             X0, X19                                                ; +0x94, 0x1001f8fc0\nBLR             X8                                                     ; +0x98, 0x1001f8fc4\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x9c, 0x1001f8fc8\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xa0, 0x1001f8fcc\nADD             SP, SP, #0x40 ; '@'                                    ; +0xa4, 0x1001f8fd0\nRET                                                                    ; +0xa8, 0x1001f8fd4", "xrefs": ["<???> @ 0x1008f4b30"], "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"}