//
// __FrameHandler3::GetCurrentState from 0x180125878 to 0x18012589f (39 bytes)
//
// 2 xrefs:
// > __FrameHandler3::FrameUnwindToState @ 0x180126b50
// > ??> @ 0x18020287c
//
// 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:54 +0000
//
__int64 __fastcall __FrameHandler3::GetCurrentState(
unsigned __int64 *a1,
struct _xDISPATCHER_CONTEXT *a2,
const struct _s_FuncInfo *a3)
{
__int64 result; // rax
result = *(unsigned int *)(a3->dispUwindHelp + *a1);
if ( (_DWORD)result == -2 )
return __FrameHandler3::StateFromIp(a3, a2, a2->ControlPc);
return result;
}