//
// __FrameHandler3::GetCurrentState from 0x180125878 to 0x18012589f (39 bytes)
//
// 2 xrefs:
// > __FrameHandler3::FrameUnwindToState @ 0x180126b50
// > ??> @ 0x18020287c
//
// 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 __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;
}