//
// __acrt_AppPolicyGetProcessTerminationMethodInternal from 0x180135738 to 0x180135786 (78 bytes)
//
// 2 xrefs:
// > __acrt_get_process_end_policy @ 0x180138e6b
// > ??> @ 0x1802033a4
//
// 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:55:00 +0000
//
__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;
}