//
// sub_10059C510 from 0x10059c510 to 0x10059c584 (116 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:32:31 +0000
//
int __fastcall sub_10059C510(char *a1)
{
int v1; // ebx
int v2; // r14d
int result; // eax
if ( !byte_100BE5728 )
sub_1009A71C0(a1);
v1 = sqlite3_bind_text(qword_100BE5748, 1, a1, -1, (void (__cdecl *)(void *))0xFFFFFFFFFFFFFFFFLL);
v2 = v1 | sqlite3_step(qword_100BE5748);
result = v2 | sqlite3_reset(qword_100BE5748);
if ( result )
{
if ( result != 101 )
return puts("Error in localStorage.removeItem()");
}
return result;
}