//
// __FrameUnwindFilter from 0x180124c78 to 0x180124cde (102 bytes)
//
// 2 xrefs:
// > __FrameHandler3::FrameUnwindToState @ 0x180142cef
// > ??> @ 0x1802026f0
//
// 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 _FrameUnwindFilter(__int64 a1)
{
_DWORD *v1; // rdi
__int64 v3; // rax
__int64 v5; // rbx
v1 = *(_DWORD **)a1;
if ( **(_DWORD **)a1 == -532462766 || *v1 == -532459699 )
{
if ( *(int *)(_vcrt_getptd() + 48) > 0 )
{
v3 = _vcrt_getptd();
--*(_DWORD *)(v3 + 48);
}
}
else if ( *v1 == -529697949 )
{
*(_QWORD *)(_vcrt_getptd() + 32) = v1;
v5 = *(_QWORD *)(a1 + 8);
*(_QWORD *)(_vcrt_getptd() + 40) = v5;
terminate();
}
return 0;
}