//
// __scrt_dllmain_exception_filter from 0x18001f458 to 0x18001f4b8 (96 bytes)
//
// 2 xrefs:
// > dllmain_dispatch @ 0x180021312
// > ??> @ 0x18004b1b4
//
// 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
//
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);
}