//
// sub_80ABC8 from 0x80abc8 to 0x80ac20 (88 bytes)
//
// 3 xrefs:
// > sub_80AB64 @ 0x80ab6c
// > sub_80AB64 @ 0x80ab74
// > ??> @ 0x80abbc
//
// 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 *__fastcall sub_80ABC8(_DWORD *result)
{
_DWORD *v1; // r4
if ( result )
{
v1 = result;
if ( *result )
{
ASYNC_cleanup_thread();
if ( !v1[1] )
return (_DWORD *)CRYPTO_free(v1, "crypto/init.c", 339);
}
else if ( !result[1] )
{
return (_DWORD *)CRYPTO_free(v1, "crypto/init.c", 339);
}
err_delete_thread_state();
return (_DWORD *)CRYPTO_free(v1, "crypto/init.c", 339);
}
return result;
}