//
// int `_wcstombs_l_helper from 0x180142d51 to 0x180142d5d (12 bytes)
//
// 2 xrefs:
// > ??> @ 0x18019273c
// > ??> @ 0x180203e48
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:55:05 +0000
//
// 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;
}