{"type": "func", "start": 6442579116, "end": 6442579247, "name": "sub_18001F4AC", "pseudocode": "// \n// sub_18001F4AC from 0x18001f4ac to 0x18001f52f (131 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18001f4ab\n// > sub_18001F344 @ 0x18001f38f\n// > sub_18001F530 @ 0x18001f5dc\n// > <???> @ 0x18004d100\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:15:45 +0000\n// \n\n__int64 __fastcall sub_18001F4AC(char a1)\n{\n  __int64 v3; // rcx\n  char v4; // bl\n  __int64 v5; // rcx\n  __int64 v6; // rcx\n  __int64 v7; // rcx\n  __int64 v8; // rcx\n  unsigned int v9; // ebx\n  __int64 v10; // rcx\n\n  if ( dword_180049FD0 <= 0 )\n    return 0;\n  --dword_180049FD0;\n  v4 = sub_18001FC8C();\n  if ( dword_18004A578 != 2 )\n  {\n    sub_18001FFBC(7);\n    __debugbreak();\n    JUMPOUT(0x18001F52FLL);\n  }\n  sub_18001FDB4(v3);\n  sub_18001FC5C(v5);\n  sub_180020144(v6);\n  dword_18004A578 = 0;\n  LOBYTE(v7) = v4;\n  sub_18001FF58(v7);\n  LOBYTE(v8) = a1;\n  v9 = (unsigned __int8)sub_18001FF7C(v8, 0);\n  sub_18001FDE4(v10);\n  return v9;\n}", "assembly": "; \n; sub_18001F4AC from 0x18001f4ac to 0x18001f52f (131 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18001f4ab\n; > sub_18001F344 @ 0x18001f38f\n; > sub_18001F530 @ 0x18001f5dc\n; > <???> @ 0x18004d100\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:15:45 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18001f4ac\npush    rdi                                                            ; +0x5, 0x18001f4b1\nsub     rsp, 30h                                                       ; +0x6, 0x18001f4b2\nmov     dil, cl                                                        ; +0xa, 0x18001f4b6\nmov     eax, cs:dword_180049FD0                                        ; +0xd, 0x18001f4b9\ntest    eax, eax                                                       ; +0x13, 0x18001f4bf\njg      short loc_18001F4D0                                            ; +0x15, 0x18001f4c1\nxor     eax, eax                                                       ; +0x17, 0x18001f4c3\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x19, 0x18001f4c5\nadd     rsp, 30h                                                       ; +0x1e, 0x18001f4ca\npop     rdi                                                            ; +0x22, 0x18001f4ce\nretn                                                                   ; +0x23, 0x18001f4cf\ndec     eax                                                            ; +0x24, 0x18001f4d0\nmov     cs:dword_180049FD0, eax                                        ; +0x26, 0x18001f4d2\ncall    sub_18001FC8C                                                  ; +0x2c, 0x18001f4d8\nmov     bl, al                                                         ; +0x31, 0x18001f4dd\nmov     [rsp+38h+var_18], al                                           ; +0x33, 0x18001f4df\ncmp     cs:dword_18004A578, 2                                          ; +0x37, 0x18001f4e3\njnz     short loc_18001F522                                            ; +0x3e, 0x18001f4ea\ncall    sub_18001FDB4                                                  ; +0x40, 0x18001f4ec\ncall    sub_18001FC5C                                                  ; +0x45, 0x18001f4f1\ncall    sub_180020144                                                  ; +0x4a, 0x18001f4f6\nmov     cs:dword_18004A578, 0                                          ; +0x4f, 0x18001f4fb\nmov     cl, bl                                                         ; +0x59, 0x18001f505\ncall    sub_18001FF58                                                  ; +0x5b, 0x18001f507\nxor     edx, edx                                                       ; +0x60, 0x18001f50c\nmov     cl, dil                                                        ; +0x62, 0x18001f50e\ncall    sub_18001FF7C                                                  ; +0x65, 0x18001f511\nmovzx   ebx, al                                                        ; +0x6a, 0x18001f516\ncall    sub_18001FDE4                                                  ; +0x6d, 0x18001f519\nmov     eax, ebx                                                       ; +0x72, 0x18001f51e\njmp     short loc_18001F4C5                                            ; +0x74, 0x18001f520\nmov     ecx, 7                                                         ; +0x76, 0x18001f522\ncall    sub_18001FFBC                                                  ; +0x7b, 0x18001f527\nnop                                                                    ; +0x80, 0x18001f52c\nnop                                                                    ; +0x81, 0x18001f52d\nint     3; Trap to Debugger                                            ; +0x82, 0x18001f52e", "xrefs": ["<???> @ 0x18001f4ab", "sub_18001F344 @ 0x18001f38f", "sub_18001F530 @ 0x18001f5dc", "<???> @ 0x18004d100"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}