{"type": "func", "start": 4296424492, "end": 4296424656, "name": "EditorUI::showLockedLayerAlert", "pseudocode": "// \n// EditorUI::showLockedLayerAlert from 0x100163c2c to 0x100163cd0 (164 bytes)\n// \n// 2 xrefs:\n// > EditorUI::pasteObjects @ 0x10018a114\n// > EditorUI::onCreate @ 0x1004744d4\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\nvoid __fastcall EditorUI::showLockedLayerAlert(__int64 a1, int a2)\n{\n  __int64 v3; // x0\n  char *CString; // x0\n  std::string __p; // [xsp+10h] [xbp-40h] BYREF\n  std::string v6; // [xsp+28h] [xbp-28h] BYREF\n\n  v3 = sub_1003065B0(\"Layer %i is locked.\", a2);\n  CString = (char *)cocos2d::CCString::getCString(v3);\n  sub_100009900(&v6, CString);\n  if ( SHIBYTE(v6.__r_.__value_.__r.__words[2]) < 0 )\n    sub_1000097D0(&__p, v6.__r_.__value_.__l.__data_, v6.__r_.__value_.__l.__size_);\n  else\n    __p = v6;\n  EditorUI::showTextAlert(a1, &__p, 0, 1, 127);\n  if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__p.__r_.__value_.__l.__data_);\n  if ( SHIBYTE(v6.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(v6.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; EditorUI::showLockedLayerAlert from 0x100163c2c to 0x100163cd0 (164 bytes)\n; \n; 2 xrefs:\n; > EditorUI::pasteObjects @ 0x10018a114\n; > EditorUI::onCreate @ 0x1004744d4\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, #0x60                                          ; +0x0, 0x100163c2c\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x4, 0x100163c30\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x8, 0x100163c34\nADD             X29, SP, #0x50                                         ; +0xc, 0x100163c38\nMOV             X19, X0                                                ; +0x10, 0x100163c3c\nSTR             X1, [SP,#0x50+var_50]                                  ; +0x14, 0x100163c40\nADRL            X0, aLayerIIsLocked; \"Layer %i is locked.\"             ; +0x18, 0x100163c44\nBL              sub_1003065B0                                          ; +0x20, 0x100163c4c\nBL              cocos2d__CCString__getCString                          ; +0x24, 0x100163c50\nMOV             X1, X0; __s                                            ; +0x28, 0x100163c54\nADD             X0, SP, #0x50+var_28; int                              ; +0x2c, 0x100163c58\nBL              sub_100009900                                          ; +0x30, 0x100163c5c\nLDRSB           W8, [SP,#0x50+var_11]                                  ; +0x34, 0x100163c60\nTBNZ            W8, #0x1F, loc_100163C7C                               ; +0x38, 0x100163c64\nLDUR            Q0, [SP,#0x50+var_28]                                  ; +0x3c, 0x100163c68\nSTR             Q0, [SP,#0x50+__p]                                     ; +0x40, 0x100163c6c\nLDR             X8, [SP,#0x38]                                         ; +0x44, 0x100163c70\nSTR             X8, [SP,#0x50+var_30]                                  ; +0x48, 0x100163c74\nB               loc_100163C88                                          ; +0x4c, 0x100163c78\nLDP             X1, X2, [SP,#0x50+var_28]; __src                       ; +0x50, 0x100163c7c\nADD             X0, SP, #0x50+__p; __dst                               ; +0x54, 0x100163c80\nBL              sub_1000097D0                                          ; +0x58, 0x100163c84\nADD             X1, SP, #0x50+__p; __s                                 ; +0x5c, 0x100163c88\nMOV             X0, X19; int                                           ; +0x60, 0x100163c8c\nMOV             W2, #0                                                 ; +0x64, 0x100163c90\nMOV             W3, #1                                                 ; +0x68, 0x100163c94\nMOV             W4, #0x7F                                              ; +0x6c, 0x100163c98\nBL              EditorUI__showTextAlert                                ; +0x70, 0x100163c9c\nLDRSB           W8, [SP,#0x50+var_30+7]                                ; +0x74, 0x100163ca0\nTBZ             W8, #0x1F, loc_100163CB0                               ; +0x78, 0x100163ca4\nLDR             X0, [SP,#0x50+__p]; __p                                ; +0x7c, 0x100163ca8\nBL              __ZdlPv; operator delete(void *)                       ; +0x80, 0x100163cac\nLDRSB           W8, [SP,#0x50+var_11]                                  ; +0x84, 0x100163cb0\nTBZ             W8, #0x1F, loc_100163CC0                               ; +0x88, 0x100163cb4\nLDR             X0, [SP,#0x50+var_28]; __p                             ; +0x8c, 0x100163cb8\nBL              __ZdlPv; operator delete(void *)                       ; +0x90, 0x100163cbc\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x94, 0x100163cc0\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x98, 0x100163cc4\nADD             SP, SP, #0x60 ; '`'                                    ; +0x9c, 0x100163cc8\nRET                                                                    ; +0xa0, 0x100163ccc", "xrefs": ["EditorUI::pasteObjects @ 0x10018a114", "EditorUI::onCreate @ 0x1004744d4"], "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"}