//
// sub_10056F300 from 0x10056f300 to 0x10056f3a1 (161 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall sub_10056F300(char *a1, char *a2)
{
int v2; // r14d
int v3; // ebx
int v4; // r14d
int result; // eax
if ( !byte_1009A2A70 )
sub_1007CC680(a1, a2);
v2 = sqlite3_bind_text(pStmt, 1, a1, -1, (void (__cdecl *)(void *))0xFFFFFFFFFFFFFFFFLL);
v3 = v2 | sqlite3_bind_text(pStmt, 2, a2, -1, (void (__cdecl *)(void *))0xFFFFFFFFFFFFFFFFLL);
v4 = v3 | sqlite3_step(pStmt);
result = v4 | sqlite3_reset(pStmt);
if ( result )
{
if ( result != 101 )
return puts("Error in localStorage.setItem()");
}
return result;
}