{"type": "func", "start": 6443364208, "end": 6443364279, "name": "sub_1800DEF70", "pseudocode": "// \n// sub_1800DEF70 from 0x1800def70 to 0x1800defb7 (71 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x18016d120\n// > <???> @ 0x18016d310\n// > <???> @ 0x18016d4a8\n// > <???> @ 0x18016d678\n// > <???> @ 0x1801ff7a4\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 10:54:15 +0000\n// \n\n__int64 __fastcall sub_1800DEF70(__int64 a1, _BYTE *a2, int a3)\n{\n  int v6; // r8d\n  char *v7; // rdx\n\n  if ( !a2 )\n    return 31;\n  v6 = 256;\n  v7 = (char *)&byte_18014572F;\n  if ( a3 <= 256 )\n    v6 = a3;\n  if ( *(_QWORD *)(a1 + 48) )\n    v7 = *(char **)(a1 + 48);\n  sub_1800B7D20(a2, v7, v6);\n  return 0;\n}", "assembly": "; \n; sub_1800DEF70 from 0x1800def70 to 0x1800defb7 (71 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x18016d120\n; > <???> @ 0x18016d310\n; > <???> @ 0x18016d4a8\n; > <???> @ 0x18016d678\n; > <???> @ 0x1801ff7a4\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 10:54:15 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800def70\nmov     eax, r8d                                                       ; +0x4, 0x1800def74\nmov     r9, rdx                                                        ; +0x7, 0x1800def77\ntest    rdx, rdx                                                       ; +0xa, 0x1800def7a\njnz     short loc_1800DEF89                                            ; +0xd, 0x1800def7d\nmov     eax, 1Fh                                                       ; +0xf, 0x1800def7f\nadd     rsp, 28h                                                       ; +0x14, 0x1800def84\nretn                                                                   ; +0x18, 0x1800def88\nmov     r8d, 100h                                                      ; +0x19, 0x1800def89\nlea     rdx, byte_18014572F                                            ; +0x1f, 0x1800def8f\ncmp     eax, r8d                                                       ; +0x26, 0x1800def96\ncmovle  r8d, eax                                                       ; +0x29, 0x1800def99\nmov     rax, [rcx+30h]                                                 ; +0x2d, 0x1800def9d\ntest    rax, rax                                                       ; +0x31, 0x1800defa1\nmov     rcx, r9                                                        ; +0x34, 0x1800defa4\ncmovnz  rdx, rax                                                       ; +0x37, 0x1800defa7\ncall    sub_1800B7D20                                                  ; +0x3b, 0x1800defab\nxor     eax, eax                                                       ; +0x40, 0x1800defb0\nadd     rsp, 28h                                                       ; +0x42, 0x1800defb2\nretn                                                                   ; +0x46, 0x1800defb6", "xrefs": ["<???> @ 0x18016d120", "<???> @ 0x18016d310", "<???> @ 0x18016d4a8", "<???> @ 0x18016d678", "<???> @ 0x1801ff7a4"], "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"}