{"type": "func", "start": 4296424136, "end": 4296424440, "name": "EditorUI::showTextAlert", "pseudocode": "// \n// EditorUI::showTextAlert from 0x100163ac8 to 0x100163bf8 (304 bytes)\n// \n// 21 xrefs:\n// > EditorUI::handleEditorAction @ 0x100162b4c\n// > EditorUI::handleEditorAction @ 0x100162bd8\n// > EditorUI::handleEditorAction @ 0x100162ea8\n// > EditorUI::handleEditorAction @ 0x100163028\n// > EditorUI::handleEditorAction @ 0x100163284\n// > EditorUI::handleEditorAction @ 0x100163350\n// > EditorUI::handleEditorAction @ 0x1001633c0\n// > EditorUI::handleEditorAction @ 0x100163484\n// > EditorUI::handleEditorAction @ 0x1001634ec\n// > EditorUI::handleEditorAction @ 0x1001635a4\n// > EditorUI::handleEditorAction @ 0x100163900\n// > EditorUI::handleEditorAction @ 0x100163960\n// > EditorUI::handleEditorAction @ 0x1001639a0\n// > EditorUI::showLockedLayerAlert @ 0x100163c9c\n// > EditorUI::toggleViewOption @ 0x100189410\n// > EditorUI::findObject @ 0x1001a69a8\n// > LevelEditorLayer::doAutoSave @ 0x10040b4b8\n// > LevelEditorLayer::doAutoBackup @ 0x10040b8a8\n// > EditorUI::showGridSizeAlert @ 0x100475390\n// > EditorUI::createGradientFromSelection @ 0x10047b538\n// > EditorUI::createGradientFromSelection @ 0x10047b570\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:59:47 +0000\n// \n\n__int64 __fastcall EditorUI::showTextAlert(__int64 a1, std::string *__s, int a3, char a4, __int64 a5)\n{\n  const std::string::value_type *v8; // x1\n  __int64 v9; // x21\n  float v11; // [xsp+0h] [xbp-60h] BYREF\n  float v12; // [xsp+8h] [xbp-58h] BYREF\n  void *__p[2]; // [xsp+10h] [xbp-50h] BYREF\n  char v14; // [xsp+27h] [xbp-39h]\n  void *v15[2]; // [xsp+28h] [xbp-38h] BYREF\n  char v16; // [xsp+3Fh] [xbp-21h]\n\n  if ( (a4 & 1) == 0 )\n  {\n    if ( a3 )\n      v8 = \"On\";\n    else\n      v8 = \"Off\";\n    std::string::append(__s, v8);\n  }\n  if ( SHIBYTE(__s->__r_.__value_.__r.__words[2]) < 0 )\n    __s = (std::string *)__s->__r_.__value_.__r.__words[0];\n  sub_100009900(v15, (char *)__s);\n  sub_100009900(__p, \"chatFont.fnt\");\n  v9 = TextAlertPopup::create(v15, 100, __p, 0.6, 0.6);\n  if ( v14 < 0 )\n    operator delete(__p[0]);\n  if ( v16 < 0 )\n    operator delete(v15[0]);\n  sub_10037E130(v9, 65280);\n  sub_1000262BC(&v12, 0.0, 1.0);\n  sub_1000262BC(&v11, 20.0, -20.0);\n  sub_10037E16C(v9, &v12, &v11);\n  if ( (_DWORD)a5 )\n    return sub_10037DFF0(a1, a5, v9, 100);\n  else\n    return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v9, 100);\n}", "assembly": "; \n; EditorUI::showTextAlert from 0x100163ac8 to 0x100163bf8 (304 bytes)\n; \n; 21 xrefs:\n; > EditorUI::handleEditorAction @ 0x100162b4c\n; > EditorUI::handleEditorAction @ 0x100162bd8\n; > EditorUI::handleEditorAction @ 0x100162ea8\n; > EditorUI::handleEditorAction @ 0x100163028\n; > EditorUI::handleEditorAction @ 0x100163284\n; > EditorUI::handleEditorAction @ 0x100163350\n; > EditorUI::handleEditorAction @ 0x1001633c0\n; > EditorUI::handleEditorAction @ 0x100163484\n; > EditorUI::handleEditorAction @ 0x1001634ec\n; > EditorUI::handleEditorAction @ 0x1001635a4\n; > EditorUI::handleEditorAction @ 0x100163900\n; > EditorUI::handleEditorAction @ 0x100163960\n; > EditorUI::handleEditorAction @ 0x1001639a0\n; > EditorUI::showLockedLayerAlert @ 0x100163c9c\n; > EditorUI::toggleViewOption @ 0x100189410\n; > EditorUI::findObject @ 0x1001a69a8\n; > LevelEditorLayer::doAutoSave @ 0x10040b4b8\n; > LevelEditorLayer::doAutoBackup @ 0x10040b8a8\n; > EditorUI::showGridSizeAlert @ 0x100475390\n; > EditorUI::createGradientFromSelection @ 0x10047b538\n; > EditorUI::createGradientFromSelection @ 0x10047b570\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:59:47 +0000\n; \nSUB             SP, SP, #0x70                                          ; +0x0, 0x100163ac8\nSTP             X22, X21, [SP,#0x60+var_20]                            ; +0x4, 0x100163acc\nSTP             X20, X19, [SP,#0x60+var_10]                            ; +0x8, 0x100163ad0\nSTP             X29, X30, [SP,#0x60+var_s0]                            ; +0xc, 0x100163ad4\nADD             X29, SP, #0x60                                         ; +0x10, 0x100163ad8\nMOV             X19, X4                                                ; +0x14, 0x100163adc\nMOV             X21, X1                                                ; +0x18, 0x100163ae0\nMOV             X20, X0                                                ; +0x1c, 0x100163ae4\nTBNZ            W3, #0, loc_100163B0C                                  ; +0x20, 0x100163ae8\nADRL            X8, aOff; \"Off\"                                        ; +0x24, 0x100163aec\nADRL            X9, aOn; \"On\"                                          ; +0x2c, 0x100163af4\nCMP             W2, #0                                                 ; +0x34, 0x100163afc\nCSEL            X1, X9, X8, NE; __s                                    ; +0x38, 0x100163b00\nMOV             X0, X21; this                                          ; +0x3c, 0x100163b04\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0x40, 0x100163b08\nLDRSB           W8, [X21,#0x17]                                        ; +0x44, 0x100163b0c\nTBZ             W8, #0x1F, loc_100163B18                               ; +0x48, 0x100163b10\nLDR             X21, [X21]                                             ; +0x4c, 0x100163b14\nADD             X0, SP, #0x60+var_38; int                              ; +0x50, 0x100163b18\nMOV             X1, X21; __s                                           ; +0x54, 0x100163b1c\nBL              sub_100009900                                          ; +0x58, 0x100163b20\nADRL            X1, aChatfontFnt; \"chatFont.fnt\"                       ; +0x5c, 0x100163b24\nADD             X0, SP, #0x60+__p; int                                 ; +0x64, 0x100163b2c\nBL              sub_100009900                                          ; +0x68, 0x100163b30\nADRP            X8, #dword_10075BCDC@PAGE                              ; +0x6c, 0x100163b34\nLDR             S0, [X8,#dword_10075BCDC@PAGEOFF]                      ; +0x70, 0x100163b38\nADD             X0, SP, #0x60+var_38                                   ; +0x74, 0x100163b3c\nADD             X2, SP, #0x60+__p                                      ; +0x78, 0x100163b40\nFMOV            S1, S0                                                 ; +0x7c, 0x100163b44\nMOV             W1, #0x64 ; 'd'                                        ; +0x80, 0x100163b48\nBL              TextAlertPopup__create                                 ; +0x84, 0x100163b4c\nMOV             X21, X0                                                ; +0x88, 0x100163b50\nLDRSB           W8, [SP,#0x60+var_39]                                  ; +0x8c, 0x100163b54\nTBZ             W8, #0x1F, loc_100163B64                               ; +0x90, 0x100163b58\nLDR             X0, [SP,#0x60+__p]; __p                                ; +0x94, 0x100163b5c\nBL              __ZdlPv; operator delete(void *)                       ; +0x98, 0x100163b60\nLDRSB           W8, [SP,#0x60+var_21]                                  ; +0x9c, 0x100163b64\nTBZ             W8, #0x1F, loc_100163B74                               ; +0xa0, 0x100163b68\nLDR             X0, [SP,#0x60+var_38]; __p                             ; +0xa4, 0x100163b6c\nBL              __ZdlPv; operator delete(void *)                       ; +0xa8, 0x100163b70\nMOV             X0, X21                                                ; +0xac, 0x100163b74\nMOV             W1, #0xFF00                                            ; +0xb0, 0x100163b78\nBL              sub_10037E130                                          ; +0xb4, 0x100163b7c\nADD             X0, SP, #0x60+var_58                                   ; +0xb8, 0x100163b80\nFMOV            S0, WZR                                                ; +0xbc, 0x100163b84\nFMOV            S1, #1.0                                               ; +0xc0, 0x100163b88\nBL              sub_1000262BC                                          ; +0xc4, 0x100163b8c\nMOV             X0, SP                                                 ; +0xc8, 0x100163b90\nFMOV            S0, #20.0                                              ; +0xcc, 0x100163b94\nFMOV            S1, #-20.0                                             ; +0xd0, 0x100163b98\nBL              sub_1000262BC                                          ; +0xd4, 0x100163b9c\nADD             X1, SP, #0x60+var_58                                   ; +0xd8, 0x100163ba0\nMOV             X2, SP                                                 ; +0xdc, 0x100163ba4\nMOV             X0, X21                                                ; +0xe0, 0x100163ba8\nBL              sub_10037E16C                                          ; +0xe4, 0x100163bac\nCBZ             W19, loc_100163BCC                                     ; +0xe8, 0x100163bb0\nMOV             X0, X20                                                ; +0xec, 0x100163bb4\nMOV             X1, X19                                                ; +0xf0, 0x100163bb8\nMOV             X2, X21                                                ; +0xf4, 0x100163bbc\nMOV             W3, #0x64 ; 'd'                                        ; +0xf8, 0x100163bc0\nBL              sub_10037DFF0                                          ; +0xfc, 0x100163bc4\nB               loc_100163BE4                                          ; +0x100, 0x100163bc8\nLDR             X8, [X20]                                              ; +0x104, 0x100163bcc\nLDR             X8, [X8,#0x1D0]                                        ; +0x108, 0x100163bd0\nMOV             X0, X20                                                ; +0x10c, 0x100163bd4\nMOV             X1, X21                                                ; +0x110, 0x100163bd8\nMOV             W2, #0x64 ; 'd'                                        ; +0x114, 0x100163bdc\nBLR             X8                                                     ; +0x118, 0x100163be0\nLDP             X29, X30, [SP,#0x60+var_s0]                            ; +0x11c, 0x100163be4\nLDP             X20, X19, [SP,#0x60+var_10]                            ; +0x120, 0x100163be8\nLDP             X22, X21, [SP,#0x60+var_20]                            ; +0x124, 0x100163bec\nADD             SP, SP, #0x70 ; 'p'                                    ; +0x128, 0x100163bf0\nRET                                                                    ; +0x12c, 0x100163bf4", "xrefs": ["EditorUI::handleEditorAction @ 0x100162b4c", "EditorUI::handleEditorAction @ 0x100162bd8", "EditorUI::handleEditorAction @ 0x100162ea8", "EditorUI::handleEditorAction @ 0x100163028", "EditorUI::handleEditorAction @ 0x100163284", "EditorUI::handleEditorAction @ 0x100163350", "EditorUI::handleEditorAction @ 0x1001633c0", "EditorUI::handleEditorAction @ 0x100163484", "EditorUI::handleEditorAction @ 0x1001634ec", "EditorUI::handleEditorAction @ 0x1001635a4", "EditorUI::handleEditorAction @ 0x100163900", "EditorUI::handleEditorAction @ 0x100163960", "EditorUI::handleEditorAction @ 0x1001639a0", "EditorUI::showLockedLayerAlert @ 0x100163c9c", "EditorUI::toggleViewOption @ 0x100189410", "EditorUI::findObject @ 0x1001a69a8", "LevelEditorLayer::doAutoSave @ 0x10040b4b8", "LevelEditorLayer::doAutoBackup @ 0x10040b8a8", "EditorUI::showGridSizeAlert @ 0x100475390", "EditorUI::createGradientFromSelection @ 0x10047b538", "EditorUI::createGradientFromSelection @ 0x10047b570"], "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"}