//
// __scrt_dllmain_exception_filter from 0x18012056c to 0x1801205cc (96 bytes)
//
// 2 xrefs:
// > dllmain_dispatch @ 0x180142b15
// > ??> @ 0x1802024b0
//
// 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:54:52 +0000
//
int __fastcall _scrt_dllmain_exception_filter(
__int64 a1,
int a2,
__int64 a3,
void (__fastcall *a4)(__int64, _QWORD, __int64),
unsigned int ExceptionNum,
struct _EXCEPTION_POINTERS *ExceptionPtr)
{
int v10; // eax
LOBYTE(v10) = __uncaught_exception();
if ( !v10 && a2 == 1 )
a4(a1, 0, a3);
return seh_filter_dll(ExceptionNum, ExceptionPtr);
}