{"type": "func", "start": 6443732468, "end": 6443732549, "name": "__acrt_get_developer_information_policy", "pseudocode": "// \n// __acrt_get_developer_information_policy from 0x180138df4 to 0x180138e45 (81 bytes)\n// \n// 2 xrefs:\n// > unknown_libname_70 @ 0x180139384\n// > <???> @ 0x180203734\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 _acrt_get_developer_information_policy()\n{\n  unsigned __int32 v0; // ebx\n  int v2; // [rsp+30h] [rbp+8h] BYREF\n\n  v0 = dword_1801F558C;\n  if ( !dword_1801F558C )\n  {\n    v0 = 1;\n    v2 = 1;\n    if ( (NtCurrentPeb()->ProcessParameters->Flags & 0x80000000) != 0\n      || (_acrt_AppPolicyGetShowDeveloperDiagnosticInternal((__int64)&v2), v2 == 1) )\n    {\n      v0 = 2;\n    }\n    _InterlockedExchange(&dword_1801F558C, v0);\n  }\n  return v0;\n}", "assembly": "; \n; __acrt_get_developer_information_policy from 0x180138df4 to 0x180138e45 (81 bytes)\n; \n; 2 xrefs:\n; > unknown_libname_70 @ 0x180139384\n; > <???> @ 0x180203734\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x180138df4\nsub     rsp, 20h                                                       ; +0x2, 0x180138df6\nmov     ebx, cs:dword_1801F558C                                        ; +0x6, 0x180138dfa\ntest    ebx, ebx                                                       ; +0xc, 0x180138e00\njnz     short loc_180138E3D                                            ; +0xe, 0x180138e02\nmov     ebx, 1                                                         ; +0x10, 0x180138e04\nmov     [rsp+28h+arg_0], ebx                                           ; +0x15, 0x180138e09\nmov     rax, gs:60h                                                    ; +0x19, 0x180138e0d\nmov     rcx, [rax+20h]                                                 ; +0x22, 0x180138e16\ncmp     dword ptr [rcx+8], 0                                           ; +0x26, 0x180138e1a\njl      short loc_180138E30                                            ; +0x2a, 0x180138e1e\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x2c, 0x180138e20\ncall    __acrt_AppPolicyGetShowDeveloperDiagnosticInternal             ; +0x31, 0x180138e25\ncmp     [rsp+28h+arg_0], ebx                                           ; +0x36, 0x180138e2a\njnz     short loc_180138E35                                            ; +0x3a, 0x180138e2e\nmov     ebx, 2                                                         ; +0x3c, 0x180138e30\nmov     ecx, ebx                                                       ; +0x41, 0x180138e35\nxchg    ecx, cs:dword_1801F558C                                        ; +0x43, 0x180138e37\nmov     eax, ebx                                                       ; +0x49, 0x180138e3d\nadd     rsp, 20h                                                       ; +0x4b, 0x180138e3f\npop     rbx                                                            ; +0x4f, 0x180138e43\nretn                                                                   ; +0x50, 0x180138e44", "xrefs": ["unknown_libname_70 @ 0x180139384", "<???> @ 0x180203734"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}