{"type": "func", "start": 6443720472, "end": 6443720537, "name": "__acrt_uninitialize_winapi_thunks", "pseudocode": "// \n// __acrt_uninitialize_winapi_thunks from 0x180135f18 to 0x180135f59 (65 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180173098\n// > <???> @ 0x180203494\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 __fastcall _acrt_uninitialize_winapi_thunks(char a1)\n{\n  __int64 *v1; // rbx\n  HMODULE v2; // rcx\n\n  if ( !a1 )\n  {\n    v1 = qword_1801F4FA0;\n    do\n    {\n      v2 = (HMODULE)*v1;\n      if ( *v1 )\n      {\n        if ( v2 != (HMODULE)-1LL )\n          FreeLibrary(v2);\n        *v1 = 0;\n      }\n      ++v1;\n    }\n    while ( v1 != qword_1801F5040 );\n  }\n  return 1;\n}", "assembly": "; \n; __acrt_uninitialize_winapi_thunks from 0x180135f18 to 0x180135f59 (65 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180173098\n; > <???> @ 0x180203494\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, 0x180135f18\nsub     rsp, 20h                                                       ; +0x2, 0x180135f1a\ntest    cl, cl                                                         ; +0x6, 0x180135f1e\njnz     short loc_180135F51                                            ; +0x8, 0x180135f20\nlea     rbx, qword_1801F4FA0                                           ; +0xa, 0x180135f22\nmov     rcx, [rbx]; hLibModule                                         ; +0x11, 0x180135f29\ntest    rcx, rcx                                                       ; +0x14, 0x180135f2c\njz      short loc_180135F41                                            ; +0x17, 0x180135f2f\ncmp     rcx, 0FFFFFFFFFFFFFFFFh                                        ; +0x19, 0x180135f31\njz      short loc_180135F3D                                            ; +0x1d, 0x180135f35\ncall    cs:FreeLibrary                                                 ; +0x1f, 0x180135f37\nand     qword ptr [rbx], 0                                             ; +0x25, 0x180135f3d\nadd     rbx, 8                                                         ; +0x29, 0x180135f41\nlea     rax, qword_1801F5040                                           ; +0x2d, 0x180135f45\ncmp     rbx, rax                                                       ; +0x34, 0x180135f4c\njnz     short loc_180135F29                                            ; +0x37, 0x180135f4f\nmov     al, 1                                                          ; +0x39, 0x180135f51\nadd     rsp, 20h                                                       ; +0x3b, 0x180135f53\npop     rbx                                                            ; +0x3f, 0x180135f57\nretn                                                                   ; +0x40, 0x180135f58", "xrefs": ["<???> @ 0x180173098", "<???> @ 0x180203494"], "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"}