{"type": "func", "start": 5372740672, "end": 5372740734, "name": "KeybindingsLayer::onClearSearch", "pseudocode": "// \n// KeybindingsLayer::onClearSearch from 0x1403d8440 to 0x1403d847e (62 bytes)\n// \n// 3 xrefs:\n// > KeybindingsLayer::init @ 0x1403d5d9a\n// > <???> @ 0x140924ab8\n// > <???> @ 0x140924ac4\n// \n// This function is hookable on this platform (idp: pc, 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:31:37 +0000\n// \n\nvoid __fastcall KeybindingsLayer::onClearSearch(__int64 a1)\n{\n  _QWORD *v1; // rcx\n  __int128 v2; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v3; // [rsp+30h] [rbp-18h]\n  __int64 v4; // [rsp+38h] [rbp-10h]\n\n  v1 = *(_QWORD **)(a1 + 1096);\n  if ( v1 )\n  {\n    v3 = 0;\n    v2 = 0;\n    LOBYTE(v2) = 0;\n    v4 = 15;\n    CCTextInputNode::setString(v1, &v2);\n  }\n}", "assembly": "; \n; KeybindingsLayer::onClearSearch from 0x1403d8440 to 0x1403d847e (62 bytes)\n; \n; 3 xrefs:\n; > KeybindingsLayer::init @ 0x1403d5d9a\n; > <???> @ 0x140924ab8\n; > <???> @ 0x140924ac4\n; \n; This function is hookable on this platform (idp: pc, 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:31:37 +0000\n; \nsub     rsp, 48h                                                       ; +0x0, 0x1403d8440\nmov     rcx, [rcx+448h]                                                ; +0x4, 0x1403d8444\ntest    rcx, rcx                                                       ; +0xb, 0x1403d844b\njz      short loc_1403D8479                                            ; +0xe, 0x1403d844e\nxorps   xmm0, xmm0                                                     ; +0x10, 0x1403d8450\nmov     [rsp+48h+var_18], 0                                            ; +0x13, 0x1403d8453\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x1c, 0x1403d845c\nlea     rdx, [rsp+48h+var_28]                                          ; +0x21, 0x1403d8461\nmov     byte ptr [rsp+48h+var_28], 0                                   ; +0x26, 0x1403d8466\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x2b, 0x1403d846b\ncall    CCTextInputNode__setString                                     ; +0x34, 0x1403d8474\nadd     rsp, 48h                                                       ; +0x39, 0x1403d8479\nretn                                                                   ; +0x3d, 0x1403d847d", "xrefs": ["KeybindingsLayer::init @ 0x1403d5d9a", "<???> @ 0x140924ab8", "<???> @ 0x140924ac4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}