// // __acrt_get_process_end_policy from 0x180138e48 to 0x180138e84 (60 bytes) // // 2 xrefs: // > exit_or_terminate_process @ 0x1801319c0 // > @ 0x180203740 // // 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 _acrt_get_process_end_policy() { unsigned int v0; // ebx int v2; // [rsp+30h] [rbp+8h] BYREF v0 = 0; v2 = 0; if ( (NtCurrentPeb()->ProcessParameters->Flags & 0x80000000) != 0 ) return 1; _acrt_AppPolicyGetProcessTerminationMethodInternal((__int64)&v2); if ( v2 != 1 ) return 1; return v0; }