//
// engine_load_dynamic_int from 0x8b3938 to 0x8b3a0c (212 bytes)
//
// 2 xrefs:
// > sub_80AA18 @ 0x80aa1c
// > ??> @ 0x6402c
//
// 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
//
_DWORD *engine_load_dynamic_int()
{
_DWORD *result; // r0
int v1; // r4
result = (_DWORD *)ENGINE_new();
v1 = (int)result;
if ( result )
{
if ( ENGINE_set_id(result, (int)"dynamic")
&& ENGINE_set_name(v1, (int)"Dynamic engine loading support")
&& ENGINE_set_init_function(v1, (int)sub_8B3000)
&& ENGINE_set_finish_function(v1, (int)sub_8B3008)
&& ENGINE_set_ctrl_function(v1, (int)sub_8B3090)
&& ENGINE_set_flags(v1, 4)
&& ENGINE_set_cmd_defns(v1, (int)&unk_A3A348) )
{
ENGINE_add(v1);
ENGINE_free(v1);
return ERR_clear_error();
}
else
{
return (_DWORD *)ENGINE_free(v1);
}
}
return result;
}