//
// __crt_seh_guarded_call::operator from 0x180138770 to 0x18013880a (154 bytes)
//
// 2 xrefs:
// > __crt_seh_guarded_call::operator @ 0x1801388cd
// > ??> @ 0x180203698
//
// 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:01 +0000
//
void __fastcall __crt_seh_guarded_call::operator()<_lambda_842d9ff0dc9ef11c61343bbaebe7f885_,_lambda_c5860995281e5c4ce005b3de8f5874ee_ &,_lambda_d90129c13df834fdcbf8d2b88dafcf2d_>(
__int64 a1,
__int64 *a2,
FILE ***a3,
__int64 *a4)
{
FILE *v6; // rax
int base_high; // ecx
sub_18012F9E4(*a2);
v6 = **a3;
if ( v6 )
{
base_high = HIDWORD(v6->_base);
if ( (base_high & 0x2000) != 0 )
{
if ( (base_high & 3) == 2 && (base_high & 0xC0) != 0 || (base_high & 0x800) != 0 )
{
if ( *(_BYTE *)a3[2] || (HIDWORD((**a3)->_base) & 2) != 0 )
{
if ( (unsigned int)unknown_libname_69(**a3) == -1 )
*(_DWORD *)a3[3] = -1;
else
++*(_DWORD *)a3[1];
}
}
else
{
++*(_DWORD *)a3[1];
}
}
}
sub_18012F9F0(*a4);
}