// // sub_8562D8 from 0x8562d8 to 0x856358 (128 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:02:36 +0000 // int sub_8562D8() { 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