{"type": "func", "start": 6442885040, "end": 6442885150, "name": "sub_180069FB0", "pseudocode": "// \n// sub_180069FB0 from 0x180069fb0 to 0x18006a01e (110 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801acbe8\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:53:27 +0000\n// \n\n__int64 __fastcall sub_180069FB0(__int64 *a1, int a2, int a3)\n{\n  __int64 v3; // r9\n\n  v3 = *a1;\n  if ( a2 )\n  {\n    if ( a2 == 1 )\n    {\n      *(_DWORD *)(v3 + 34008) = a3;\n      return 0;\n    }\n    return 31;\n  }\n  if ( a3 != 128 && a3 != 256 && a3 != 512 && a3 != 1024 && a3 != 2048 && a3 != 4096 && a3 != 0x2000 && a3 != 0x4000 )\n    return 31;\n  *(_DWORD *)(v3 + 34004) = a3;\n  return 0;\n}", "assembly": "; \n; sub_180069FB0 from 0x180069fb0 to 0x18006a01e (110 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801acbe8\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:53:27 +0000\n; \nmov     r9, [rcx]                                                      ; +0x0, 0x180069fb0\ntest    edx, edx                                                       ; +0x3, 0x180069fb3\njz      short loc_180069FC6                                            ; +0x5, 0x180069fb5\ncmp     edx, 1                                                         ; +0x7, 0x180069fb7\njnz     short loc_18006A00E                                            ; +0xa, 0x180069fba\nmov     [r9+84D8h], r8d                                                ; +0xc, 0x180069fbc\nxor     eax, eax                                                       ; +0x13, 0x180069fc3\nretn                                                                   ; +0x15, 0x180069fc5\ncmp     r8d, 80h                                                       ; +0x16, 0x180069fc6\njz      short loc_18006A014                                            ; +0x1d, 0x180069fcd\ncmp     r8d, 100h                                                      ; +0x1f, 0x180069fcf\njz      short loc_18006A014                                            ; +0x26, 0x180069fd6\ncmp     r8d, 200h                                                      ; +0x28, 0x180069fd8\njz      short loc_18006A014                                            ; +0x2f, 0x180069fdf\ncmp     r8d, 400h                                                      ; +0x31, 0x180069fe1\njz      short loc_18006A014                                            ; +0x38, 0x180069fe8\ncmp     r8d, 800h                                                      ; +0x3a, 0x180069fea\njz      short loc_18006A014                                            ; +0x41, 0x180069ff1\ncmp     r8d, 1000h                                                     ; +0x43, 0x180069ff3\njz      short loc_18006A014                                            ; +0x4a, 0x180069ffa\ncmp     r8d, 2000h                                                     ; +0x4c, 0x180069ffc\njz      short loc_18006A014                                            ; +0x53, 0x18006a003\ncmp     r8d, 4000h                                                     ; +0x55, 0x18006a005\njz      short loc_18006A014                                            ; +0x5c, 0x18006a00c\nmov     eax, 1Fh                                                       ; +0x5e, 0x18006a00e\nretn                                                                   ; +0x63, 0x18006a013\nmov     [r9+84D4h], r8d                                                ; +0x64, 0x18006a014\nxor     eax, eax                                                       ; +0x6b, 0x18006a01b\nretn                                                                   ; +0x6d, 0x18006a01d", "xrefs": ["<???> @ 0x1801acbe8"], "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"}