{"type": "func", "start": 4295349080, "end": 4295349172, "name": "LevelSearchLayer::textInputClosed", "pseudocode": "// \n// LevelSearchLayer::textInputClosed from 0x10005d358 to 0x10005d3b4 (92 bytes)\n// \n// 2 xrefs:\n// > sub_10005D3D0 @ 0x10005d3d4\n// > <???> @ 0x1008becb0\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:48 +0000\n// \n\nvoid __fastcall LevelSearchLayer::textInputClosed(__int64 a1)\n{\n  char *v2; // x1\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v4; // [xsp+1Fh] [xbp-11h]\n\n  CCTextInputNode::getString(__p);\n  if ( v4 >= 0 )\n    v2 = (char *)__p;\n  else\n    v2 = (char *)__p[0];\n  sub_10005BA1C(a1, v2);\n  if ( v4 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; LevelSearchLayer::textInputClosed from 0x10005d358 to 0x10005d3b4 (92 bytes)\n; \n; 2 xrefs:\n; > sub_10005D3D0 @ 0x10005d3d4\n; > <???> @ 0x1008becb0\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:48 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x10005d358\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10005d35c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10005d360\nADD             X29, SP, #0x30                                         ; +0xc, 0x10005d364\nMOV             X19, X0                                                ; +0x10, 0x10005d368\nADD             X20, SP, #0x30+__p                                     ; +0x14, 0x10005d36c\nADD             X8, SP, #0x30+__p                                      ; +0x18, 0x10005d370\nMOV             X0, X1                                                 ; +0x1c, 0x10005d374\nBL              CCTextInputNode__getString                             ; +0x20, 0x10005d378\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x24, 0x10005d37c\nLDR             X9, [SP,#0x30+__p]                                     ; +0x28, 0x10005d380\nCMP             W8, #0                                                 ; +0x2c, 0x10005d384\nCSEL            X1, X9, X20, LT                                        ; +0x30, 0x10005d388\nMOV             X0, X19                                                ; +0x34, 0x10005d38c\nBL              sub_10005BA1C                                          ; +0x38, 0x10005d390\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x3c, 0x10005d394\nTBZ             W8, #0x1F, loc_10005D3A4                               ; +0x40, 0x10005d398\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x44, 0x10005d39c\nBL              __ZdlPv; operator delete(void *)                       ; +0x48, 0x10005d3a0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x4c, 0x10005d3a4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x50, 0x10005d3a8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x54, 0x10005d3ac\nRET                                                                    ; +0x58, 0x10005d3b0", "xrefs": ["sub_10005D3D0 @ 0x10005d3d4", "<???> @ 0x1008becb0"], "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"}