// // ENGINE_remove from 0x101bf50 to 0x101c090 (320 bytes) // // 2 xrefs: // > sub_101C090 @ 0x101c0a8 // > @ 0x8bc18 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:16:08 +0000 // __int64 __fastcall ENGINE_remove(__int64 a1) { __int64 v2; // x1 __int64 i; // x5 __int64 v4; // x2 __int64 v5; // x3 __int64 v6; // x0 unsigned int v7; // w19 if ( a1 ) { CRYPTO_THREAD_write_lock(global_engine_lock); v2 = qword_1566400; for ( i = qword_1566400; a1 != i && i; i = *(_QWORD *)(i + 184) ) ; if ( i ) { v4 = *(_QWORD *)(a1 + 184); if ( v4 ) *(_QWORD *)(v4 + 176) = *(_QWORD *)(a1 + 176); v5 = *(_QWORD *)(a1 + 176); if ( v5 ) *(_QWORD *)(v5 + 184) = v4; if ( a1 == v2 ) qword_1566400 = *(_QWORD *)(a1 + 184); if ( a1 == qword_1566408 ) qword_1566408 = v5; v6 = a1; v7 = 1; engine_free_util(v6, 0); } else { v7 = 0; ERR_put_error(38, 121, 105, "crypto/engine/eng_list.c", 117); ERR_put_error(38, 123, 110, "crypto/engine/eng_list.c", 245); } CRYPTO_THREAD_unlock(global_engine_lock); return v7; } else { ERR_put_error(38, 123, 67, "crypto/engine/eng_list.c", 240); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source