//
// __CxxFrameHandler3 from 0x1801257f0 to 0x180125876 (134 bytes)
//
// 3 xrefs:
// > __GSHandlerCheck_EH @ 0x1801426eb
// > ??> @ 0x180202864
// > ??> @ 0x180202870
//
// 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
//
__int64 __fastcall _CxxFrameHandler3(struct EHExceptionRecord *a1, unsigned __int64 a2, __int64 a3, __int64 a4)
{
__int64 v4; // rbx
void *pThrowImageBase; // rbx
__int64 v8; // rcx
__int64 v9; // rcx
__int64 v10; // rax
unsigned __int64 v12; // [rsp+50h] [rbp+8h] BYREF
v4 = *(_QWORD *)(a4 + 8);
v12 = a2;
*(_QWORD *)(_vcrt_getptd((__int64)a1) + 96) = v4;
pThrowImageBase = a1->params.pThrowImageBase;
*(_QWORD *)(_vcrt_getptd(v8) + 104) = pThrowImageBase;
v10 = _vcrt_getptd(v9);
return __InternalCxxFrameHandler<__FrameHandler3>(
a1,
&v12,
(struct _s_FuncInfo *)(*(_QWORD *)(v10 + 96) + **(unsigned int **)(a4 + 56)),
0,
0,
0);
}