//
// __acrt_AppPolicyGetProcessTerminationMethodInternal from 0x180135738 to 0x180135786 (78 bytes)
//
// 2 xrefs:
// > __acrt_get_process_end_policy @ 0x180138e6b
// > ??> @ 0x1802033a4
//
// 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 _acrt_AppPolicyGetProcessTerminationMethodInternal(__int64 a1)
{
FARPROC function; // rax
function = try_get_function(0x1Cu, "AppPolicyGetProcessTerminationMethod", &dword_180174AF0, &dword_180174AF4);
if ( function )
return ((__int64 (__fastcall *)(__int64, __int64))function)(-6, a1);
else
return 3221226021LL;
}