// // sub_646258 from 0x646258 to 0x6462d8 (128 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 sub_646258() { int v0; // r7 int v1; // r6 int result; // r0 char v3[63]; // [sp+8h] [bp-44h] BYREF char v4; // [sp+47h] [bp-5h] v4 = 0; v0 = lws_b64_encode_string("sanity check base 64", 20, v3, 64); if ( v0 == 28 && !strcmp(v3, "c2FuaXR5IGNoZWNrIGJhc2UgNjQ=") ) { v4 = 0; v1 = lws_b64_decode_string("c2FuaXR5IGNoZWNrIGJhc2UgNjQ=", v3, 64); if ( v1 != 20 || (result = strcmp(v3, "sanity check base 64")) != 0 ) { lws_log(1, "Failed lws_b64 decode selftest %d result '%s' %d\n", 0, v3, v1); return -1; } } else { lws_log(1, "Failed lws_b64 encode selftest %d result '%s' %d\n", 0, v3, v0); return -1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source