//
// __SetUnwindTryBlock from 0x1801258d8 to 0x180125913 (59 bytes)
//
// 2 xrefs:
// > __FrameHandler3::GetHandlerSearchState @ 0x180126d04
// > ??> @ 0x180202894
//
// 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
//
void __fastcall __SetUnwindTryBlock(
unsigned __int64 *a1,
struct _xDISPATCHER_CONTEXT *a2,
const struct _s_FuncInfo *a3,
int a4)
{
unsigned __int64 v6; // rcx
__int64 dispUwindHelp; // rax
unsigned __int64 v8; // [rsp+40h] [rbp+18h] BYREF
v6 = *_GetEstablisherFrame(a1, a2, a3, &v8);
dispUwindHelp = a3->dispUwindHelp;
v8 = v6;
if ( a4 > *(_DWORD *)(dispUwindHelp + v6 + 4) )
*(_DWORD *)(dispUwindHelp + v6 + 4) = a4;
}