//
// sub_DE1818 from 0xde1818 to 0xde18c0 (168 bytes)
//
// 2 xrefs:
// > UI_free @ 0xde1bc0
// > UI_free @ 0xde1bc8
//
// 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
//
void __fastcall sub_DE1818(void **a1)
{
if ( ((_DWORD)a1[7] & 1) != 0 && (CRYPTO_free(a1[1], (__int64)"crypto/ui/ui_lib.c", 56), *(_DWORD *)a1 == 3) )
{
CRYPTO_free(a1[4], (__int64)"crypto/ui/ui_lib.c", 59);
CRYPTO_free(a1[5], (__int64)"crypto/ui/ui_lib.c", 60);
CRYPTO_free(a1[6], (__int64)"crypto/ui/ui_lib.c", 61);
CRYPTO_free(a1, (__int64)"crypto/ui/ui_lib.c", 67);
}
else
{
CRYPTO_free(a1, (__int64)"crypto/ui/ui_lib.c", 67);
}
}