//
// localStorageSetItem from 0x180017010 to 0x1800170a3 (147 bytes)
//
// 3 xrefs:
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004a9ec
// > ??> @ 0x18004a9f8
//
// 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
//
void __fastcall localStorageSetItem(const char *a1, const char *a2)
{
int v3; // edi
int v4; // edi
int v5; // edi
int v6; // edi
v3 = sqlite3_bind_text(qword_1800486C0, 1, a1);
v4 = sqlite3_bind_text(qword_1800486C0, 2, a2) | v3;
v5 = sqlite3_step(qword_1800486C0) | v4;
v6 = sqlite3_reset(qword_1800486C0) | v5;
if ( v6 )
{
if ( v6 != 101 )
sub_1800171C0("Error in localStorage.setItem()\n");
}
}