; ; __acrt_get_begin_thread_init_policy from 0x180138da0 to 0x180138df1 (81 bytes) ; ; 2 xrefs: ; > unknown_libname_61 @ 0x1801309ad ; > @ 0x180203728 ; ; 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 ; push rbx ; +0x0, 0x180138da0 sub rsp, 20h ; +0x2, 0x180138da2 mov ebx, cs:dword_1801F5588 ; +0x6, 0x180138da6 test ebx, ebx ; +0xc, 0x180138dac jnz short loc_180138DE9 ; +0xe, 0x180138dae and [rsp+28h+arg_0], ebx ; +0x10, 0x180138db0 mov ebx, 1 ; +0x14, 0x180138db4 mov rax, gs:60h ; +0x19, 0x180138db9 mov rcx, [rax+20h] ; +0x22, 0x180138dc2 cmp dword ptr [rcx+8], 0 ; +0x26, 0x180138dc6 jl short loc_180138DE1 ; +0x2a, 0x180138dca lea rcx, [rsp+28h+arg_0] ; +0x2c, 0x180138dcc call __acrt_AppPolicyGetThreadInitializationTypeInternal ; +0x31, 0x180138dd1 cmp [rsp+28h+arg_0], ebx ; +0x36, 0x180138dd6 jnz short loc_180138DE1 ; +0x3a, 0x180138dda mov ebx, 2 ; +0x3c, 0x180138ddc mov ecx, ebx ; +0x41, 0x180138de1 xchg ecx, cs:dword_1801F5588 ; +0x43, 0x180138de3 mov eax, ebx ; +0x49, 0x180138de9 add rsp, 20h ; +0x4b, 0x180138deb pop rbx ; +0x4f, 0x180138def retn ; +0x50, 0x180138df0