//
// __acrt_uninitialize_winapi_thunks from 0x180135f18 to 0x180135f59 (65 bytes)
//
// 2 xrefs:
// > ??> @ 0x180173098
// > ??> @ 0x180203494
//
// 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
//
char __fastcall _acrt_uninitialize_winapi_thunks(char a1)
{
__int64 *v1; // rbx
HMODULE v2; // rcx
if ( !a1 )
{
v1 = qword_1801F4FA0;
do
{
v2 = (HMODULE)*v1;
if ( *v1 )
{
if ( v2 != (HMODULE)-1LL )
FreeLibrary(v2);
*v1 = 0;
}
++v1;
}
while ( v1 != qword_1801F5040 );
}
return 1;
}