{"type": "func", "start": 6443650932, "end": 6443650982, "name": "__vcrt_initialize_locks", "pseudocode": "// \n// __vcrt_initialize_locks from 0x180124f74 to 0x180124fa6 (50 bytes)\n// \n// 2 xrefs:\n// > __vcrt_initialize @ 0x180124b38\n// > <???> @ 0x180202774\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\nchar _vcrt_initialize_locks()\n{\n  if ( (unsigned int)_vcrt_InitializeCriticalSectionEx(&stru_1801F4AF0, 0xFA0u) )\n  {\n    ++dword_1801F4B18;\n    return 1;\n  }\n  else\n  {\n    _vcrt_uninitialize_locks();\n    return 0;\n  }\n}", "assembly": "; \n; __vcrt_initialize_locks from 0x180124f74 to 0x180124fa6 (50 bytes)\n; \n; 2 xrefs:\n; > __vcrt_initialize @ 0x180124b38\n; > <???> @ 0x180202774\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\nsub     rsp, 28h                                                       ; +0x0, 0x180124f74\nxor     r8d, r8d                                                       ; +0x4, 0x180124f78\nlea     rcx, stru_1801F4AF0; lpCriticalSection                         ; +0x7, 0x180124f7b\nmov     edx, 0FA0h; dwSpinCount                                        ; +0xe, 0x180124f82\ncall    __vcrt_InitializeCriticalSectionEx                             ; +0x13, 0x180124f87\ntest    eax, eax                                                       ; +0x18, 0x180124f8c\njz      short loc_180124F9A                                            ; +0x1a, 0x180124f8e\ninc     cs:dword_1801F4B18                                             ; +0x1c, 0x180124f90\nmov     al, 1                                                          ; +0x22, 0x180124f96\njmp     short loc_180124FA1                                            ; +0x24, 0x180124f98\ncall    __vcrt_uninitialize_locks                                      ; +0x26, 0x180124f9a\nxor     al, al                                                         ; +0x2b, 0x180124f9f\nadd     rsp, 28h                                                       ; +0x2d, 0x180124fa1\nretn                                                                   ; +0x31, 0x180124fa5", "xrefs": ["__vcrt_initialize @ 0x180124b38", "<???> @ 0x180202774"], "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"}