//
// sub_1406784EC from 0x1406784ec to 0x14067854f (99 bytes)
//
// 2 xrefs:
// > sub_1406784DC @ 0x1406784dc
// > ??> @ 0x1409327f8
//
// 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 11:36:00 +0000
//
__int64 __fastcall sub_1406784EC(_QWORD *a1)
{
_DWORD *v1; // rbx
int v3; // edx
__int64 v5; // rbx
v1 = (_DWORD *)*a1;
if ( *(_DWORD *)*a1 == -529697949 && v1[6] == 4 )
{
v3 = v1[8];
if ( v3 == 429065504 || (unsigned int)(v3 - 429065505) <= 1 || v3 == 26820608 )
{
*(_QWORD *)_current_exception() = v1;
v5 = a1[1];
*(_QWORD *)_current_exception_context() = v5;
terminate();
}
}
return 0;
}