// // sub_10056F3B0 from 0x10056f3b0 to 0x10056f44c (156 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 // const unsigned __int8 *__fastcall sub_10056F3B0(char *a1) { int v1; // r14d int v2; // r15d int v3; // ebx const unsigned __int8 *result; // rax const unsigned __int8 *v5; // rbx if ( !byte_1009A2A70 ) sub_1007CC6B0(a1); v1 = sqlite3_reset(ppStmt); v2 = v1 | sqlite3_bind_text(ppStmt, 1, a1, -1, (void (__cdecl *)(void *))0xFFFFFFFFFFFFFFFFLL); v3 = v2 | sqlite3_step(ppStmt); result = sqlite3_column_text(ppStmt, 0); if ( (unsigned int)(v3 - 100) >= 2 ) { if ( v3 ) { v5 = result; puts("Error in localStorage.getItem()"); return v5; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source