// // sub_854A2C from 0x854a2c to 0x854aa2 (118 bytes) // // 1 xrefs: // > sub_855B2C @ 0x855b2c // // 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:35 +0000 // int __fastcall sub_854A2C(int a1, const char *a2) { int v4; // r5 int v6; // r0 int error; // r0 char v8[260]; // [sp+0h] [bp-104h] BYREF v4 = ENGINE_by_id(a2); if ( v4 ) { if ( *(_DWORD *)(a1 + 34608) ) { ENGINE_finish(); ENGINE_free(*(_DWORD *)(a1 + 34608)); *(_DWORD *)(a1 + 34608) = 0; } if ( ENGINE_init(v4) ) { *(_DWORD *)(a1 + 34608) = v4; return 0; } else { v6 = ENGINE_free(v4); error = ERR_get_error(v6); ERR_error_string_n(error, v8, 256); sub_828178(a1, "Failed to initialise SSL Engine '%s':\n%s", a2, v8); return 66; } } else { sub_828178(a1, "SSL Engine '%s' not found", a2); return 53; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source