//
// engine_load_dynamic_int from 0x10db810 to 0x10db8e4 (212 bytes)
//
// 2 xrefs:
// > sub_102FDF8 @ 0x102fe00
// > ??> @ 0xf1df8
//
// 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:17:45 +0000
//
_QWORD *engine_load_dynamic_int()
{
_QWORD *result; // x0
__int64 v1; // x19
result = (_QWORD *)ENGINE_new();
v1 = (__int64)result;
if ( result )
{
if ( (unsigned int)ENGINE_set_id(result, (__int64)"dynamic")
&& (unsigned int)ENGINE_set_name(v1, (__int64)"Dynamic engine loading support")
&& (unsigned int)ENGINE_set_init_function(v1, (__int64)sub_10DB000)
&& (unsigned int)ENGINE_set_finish_function(v1, (__int64)sub_10DB008)
&& (unsigned int)ENGINE_set_ctrl_function(v1, (__int64)sub_10DB098)
&& (unsigned int)ENGINE_set_flags(v1, 4)
&& (unsigned int)ENGINE_set_cmd_defns(v1, (__int64)&unk_1410538) )
{
ENGINE_add(v1);
ENGINE_free(v1);
return (_QWORD *)ERR_clear_error();
}
else
{
return (_QWORD *)ENGINE_free(v1);
}
}
return result;
}