//
// __acrt_get_developer_information_policy from 0x180138df4 to 0x180138e45 (81 bytes)
//
// 2 xrefs:
// > unknown_libname_70 @ 0x180139384
// > ??> @ 0x180203734
//
// 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:01 +0000
//
__int64 _acrt_get_developer_information_policy()
{
unsigned __int32 v0; // ebx
int v2; // [rsp+30h] [rbp+8h] BYREF
v0 = dword_1801F558C;
if ( !dword_1801F558C )
{
v0 = 1;
v2 = 1;
if ( (NtCurrentPeb()->ProcessParameters->Flags & 0x80000000) != 0
|| (_acrt_AppPolicyGetShowDeveloperDiagnosticInternal((__int64)&v2), v2 == 1) )
{
v0 = 2;
}
_InterlockedExchange(&dword_1801F558C, v0);
}
return v0;
}