{"type": "func", "start": 6442882736, "end": 6442882933, "name": "sub_1800696B0", "pseudocode": "// \n// sub_1800696B0 from 0x1800696b0 to 0x180069775 (197 bytes)\n// \n// 4 xrefs:\n// > sub_180068440 @ 0x1800684ec\n// > sub_180068B10 @ 0x180068b30\n// > sub_1800FC980 @ 0x1800fcda1\n// > <???> @ 0x1801f9558\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\n__int64 __fastcall sub_1800696B0(__int64 a1, __int64 a2, char a3)\n{\n  char v4; // bl\n  __int64 result; // rax\n\n  *(_DWORD *)(a1 + 568) = 1065353216;\n  v4 = a2;\n  sub_18005A240(*(__int64 **)(a1 + 544), a2, a3);\n  result = 0;\n  *(_DWORD *)(a1 + 88) = 0;\n  *(_DWORD *)(a1 + 616) = 0;\n  *(_QWORD *)(a1 + 608) = 0;\n  *(_DWORD *)(a1 + 632) = 0;\n  *(_QWORD *)(a1 + 624) = 0;\n  *(_DWORD *)(a1 + 648) = 0;\n  *(_QWORD *)(a1 + 640) = 0;\n  *(_DWORD *)(a1 + 664) = 0;\n  *(_QWORD *)(a1 + 656) = 0;\n  *(_QWORD *)(a1 + 672) = 1;\n  *(_DWORD *)(a1 + 680) = 1065353216;\n  *(_DWORD *)(a1 + 684) = 1;\n  if ( v4 )\n  {\n    *(_QWORD *)(a1 + 552) = 0;\n    *(_QWORD *)(a1 + 72) = 0;\n    *(_QWORD *)(a1 + 64) = 0;\n    *(_QWORD *)(a1 + 32) = 0;\n    *(_QWORD *)(a1 + 24) = 0;\n    *(_QWORD *)(a1 + 16) = 0;\n    *(_QWORD *)(a1 + 8) = 0;\n    *(_DWORD *)(a1 + 44) = 0x100000;\n    *(_DWORD *)(a1 + 40) = 0x100000;\n    *(_BYTE *)(a1 + 80) = 0;\n    *(_WORD *)(a1 + 48) = 0;\n    *(_QWORD *)(a1 + 56) = 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800696B0 from 0x1800696b0 to 0x180069775 (197 bytes)\n; \n; 4 xrefs:\n; > sub_180068440 @ 0x1800684ec\n; > sub_180068B10 @ 0x180068b30\n; > sub_1800FC980 @ 0x1800fcda1\n; > <???> @ 0x1801f9558\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800696b0\npush    rdi                                                            ; +0x5, 0x1800696b5\nsub     rsp, 20h                                                       ; +0x6, 0x1800696b6\nmov     rdi, rcx                                                       ; +0xa, 0x1800696ba\nmov     dword ptr [rcx+238h], 3F800000h                                ; +0xd, 0x1800696bd\nmov     rcx, [rcx+220h]                                                ; +0x17, 0x1800696c7\nmovzx   ebx, dl                                                        ; +0x1e, 0x1800696ce\ncall    sub_18005A240                                                  ; +0x21, 0x1800696d1\nxor     eax, eax                                                       ; +0x26, 0x1800696d6\nmov     [rdi+58h], eax                                                 ; +0x28, 0x1800696d8\nmov     [rdi+268h], eax                                                ; +0x2b, 0x1800696db\nmov     [rdi+260h], rax                                                ; +0x31, 0x1800696e1\nmov     [rdi+278h], eax                                                ; +0x38, 0x1800696e8\nmov     [rdi+270h], rax                                                ; +0x3e, 0x1800696ee\nmov     [rdi+288h], eax                                                ; +0x45, 0x1800696f5\nmov     [rdi+280h], rax                                                ; +0x4b, 0x1800696fb\nmov     [rdi+298h], eax                                                ; +0x52, 0x180069702\nmov     [rdi+290h], rax                                                ; +0x58, 0x180069708\nmov     qword ptr [rdi+2A0h], 1                                        ; +0x5f, 0x18006970f\nmov     dword ptr [rdi+2A8h], 3F800000h                                ; +0x6a, 0x18006971a\nmov     dword ptr [rdi+2ACh], 1                                        ; +0x74, 0x180069724\ntest    bl, bl                                                         ; +0x7e, 0x18006972e\njz      short loc_18006976A                                            ; +0x80, 0x180069730\nmov     [rdi+228h], rax                                                ; +0x82, 0x180069732\nmov     [rdi+48h], rax                                                 ; +0x89, 0x180069739\nmov     [rdi+40h], rax                                                 ; +0x8d, 0x18006973d\nmov     [rdi+20h], rax                                                 ; +0x91, 0x180069741\nmov     [rdi+18h], rax                                                 ; +0x95, 0x180069745\nmov     [rdi+10h], rax                                                 ; +0x99, 0x180069749\nmov     [rdi+8], rax                                                   ; +0x9d, 0x18006974d\nmov     dword ptr [rdi+2Ch], 100000h                                   ; +0xa1, 0x180069751\nmov     dword ptr [rdi+28h], 100000h                                   ; +0xa8, 0x180069758\nmov     [rdi+50h], al                                                  ; +0xaf, 0x18006975f\nmov     [rdi+30h], ax                                                  ; +0xb2, 0x180069762\nmov     [rdi+38h], rax                                                 ; +0xb6, 0x180069766\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xba, 0x18006976a\nadd     rsp, 20h                                                       ; +0xbf, 0x18006976f\npop     rdi                                                            ; +0xc3, 0x180069773\nretn                                                                   ; +0xc4, 0x180069774", "xrefs": ["sub_180068440 @ 0x1800684ec", "sub_180068B10 @ 0x180068b30", "sub_1800FC980 @ 0x1800fcda1", "<???> @ 0x1801f9558"], "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"}