//
// int `_wcstombs_l_helper from 0x180142d51 to 0x180142d5d (12 bytes)
//
// 2 xrefs:
// > ??> @ 0x18019273c
// > ??> @ 0x180203e48
//
// 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
//
// Microsoft VisualC v14 64bit runtime
__int64 __fastcall `_wcstombs_l_helper'::`1'::dtor$0(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int64 *v3; // rcx
v3 = (__int64 *)(a2 + 88);
if ( *(_BYTE *)(a2 + 112) )
{
result = *v3;
*(_DWORD *)(*v3 + 936) &= ~2u;
}
return result;
}