{"type": "func", "start": 6442545472, "end": 6442545575, "name": "localStorageRemoveItem", "pseudocode": "// \n// localStorageRemoveItem from 0x180017140 to 0x1800171a7 (103 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004aa10\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall localStorageRemoveItem(const char *a1)\n{\n  int v1; // ebx\n  int v2; // ebx\n  int v3; // ebx\n\n  v1 = sqlite3_bind_text(qword_1800486B8, 1, a1);\n  v2 = sqlite3_step(qword_1800486B8) | v1;\n  v3 = sqlite3_reset(qword_1800486B8) | v2;\n  if ( v3 )\n  {\n    if ( v3 != 101 )\n      sub_1800171C0(\"Error in localStorage.removeItem()\\n\");\n  }\n}", "assembly": "; \n; localStorageRemoveItem from 0x180017140 to 0x1800171a7 (103 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004aa10\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x180017140\nsub     rsp, 30h                                                       ; +0x2, 0x180017142\nmov     r9d, 0FFFFFFFFh                                                ; +0x6, 0x180017146\nmov     [rsp+38h+var_18], 0FFFFFFFFFFFFFFFFh                           ; +0xc, 0x18001714c\nmov     r8, rcx                                                        ; +0x15, 0x180017155\nmov     rcx, cs:qword_1800486B8                                        ; +0x18, 0x180017158\nlea     edx, [r9+2]                                                    ; +0x1f, 0x18001715f\ncall    cs:sqlite3_bind_text                                           ; +0x23, 0x180017163\nmov     rcx, cs:qword_1800486B8                                        ; +0x29, 0x180017169\nmov     ebx, eax                                                       ; +0x30, 0x180017170\ncall    cs:sqlite3_step                                                ; +0x32, 0x180017172\nmov     rcx, cs:qword_1800486B8                                        ; +0x38, 0x180017178\nor      ebx, eax                                                       ; +0x3f, 0x18001717f\ncall    cs:sqlite3_reset                                               ; +0x41, 0x180017181\nor      ebx, eax                                                       ; +0x47, 0x180017187\njz      short loc_1800171A1                                            ; +0x49, 0x180017189\ncmp     ebx, 65h ; 'e'                                                 ; +0x4b, 0x18001718b\njz      short loc_1800171A1                                            ; +0x4e, 0x18001718e\nlea     rcx, aErrorInLocalst_1; \"Error in localStorage.removeItem()\\n\" ; +0x50, 0x180017190\nadd     rsp, 30h                                                       ; +0x57, 0x180017197\npop     rbx                                                            ; +0x5b, 0x18001719b\njmp     sub_1800171C0                                                  ; +0x5c, 0x18001719c\nadd     rsp, 30h                                                       ; +0x61, 0x1800171a1\npop     rbx                                                            ; +0x65, 0x1800171a5\nretn                                                                   ; +0x66, 0x1800171a6", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004aa10"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}