; ; localStorageGetItem from 0x1800170b0 to 0x180017138 (136 bytes) ; ; 2 xrefs: ; > @ 0x18002fdf8 ; > @ 0x18004aa04 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x1800170b0 push rdi ; +0x5, 0x1800170b5 sub rsp, 30h ; +0x6, 0x1800170b6 mov rbx, rcx ; +0xa, 0x1800170ba mov rcx, cs:qword_1800486B0 ; +0xd, 0x1800170bd call cs:sqlite3_reset ; +0x14, 0x1800170c4 mov rcx, cs:qword_1800486B0 ; +0x1a, 0x1800170ca mov r9d, 0FFFFFFFFh ; +0x21, 0x1800170d1 mov r8, rbx ; +0x27, 0x1800170d7 mov [rsp+38h+var_18], 0FFFFFFFFFFFFFFFFh ; +0x2a, 0x1800170da mov edi, eax ; +0x33, 0x1800170e3 lea edx, [r9+2] ; +0x35, 0x1800170e5 call cs:sqlite3_bind_text ; +0x39, 0x1800170e9 mov rcx, cs:qword_1800486B0 ; +0x3f, 0x1800170ef or edi, eax ; +0x46, 0x1800170f6 call cs:sqlite3_step ; +0x48, 0x1800170f8 mov rcx, cs:qword_1800486B0 ; +0x4e, 0x1800170fe xor edx, edx ; +0x55, 0x180017105 or edi, eax ; +0x57, 0x180017107 call cs:sqlite3_column_text ; +0x59, 0x180017109 mov rbx, rax ; +0x5f, 0x18001710f test edi, edi ; +0x62, 0x180017112 jz short loc_18001712D ; +0x64, 0x180017114 lea ecx, [rdi-64h] ; +0x66, 0x180017116 cmp ecx, 1 ; +0x69, 0x180017119 jbe short loc_18001712D ; +0x6c, 0x18001711c lea rcx, aErrorInLocalst_0; "Error in localStorage.getItem()\n" ; +0x6e, 0x18001711e call sub_1800171C0 ; +0x75, 0x180017125 mov rax, rbx ; +0x7a, 0x18001712a mov rbx, [rsp+38h+arg_0] ; +0x7d, 0x18001712d add rsp, 30h ; +0x82, 0x180017132 pop rdi ; +0x86, 0x180017136 retn ; +0x87, 0x180017137