{"type": "func", "start": 6442883408, "end": 6442883567, "name": "sub_180069950", "pseudocode": "// \n// sub_180069950 from 0x180069950 to 0x1800699ef (159 bytes)\n// \n// 4 xrefs:\n// > sub_18000E700 @ 0x18000e885\n// > sub_18000F320 @ 0x18000f4f5\n// > sub_180010050 @ 0x18001025a\n// > <???> @ 0x1801f9570\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_180069950(__int64 a1, __int64 a2, unsigned __int8 a3)\n{\n  __int64 result; // rax\n  __int64 v7; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( (*(_DWORD *)(a1 + 100) & 0x100) != 0 )\n  {\n    *(_QWORD *)(a1 + 552) = a2;\n    return 0;\n  }\n  else\n  {\n    result = sub_1800FCF40(*(_QWORD *)(a1 + 168), &v7, 24, a3);\n    if ( !(_DWORD)result )\n    {\n      *(_BYTE *)v7 = 16;\n      *(_QWORD *)(v7 + 8) = a1;\n      *(_QWORD *)(v7 + 16) = a2;\n      return sub_1800FD370(*(_QWORD *)(a1 + 168), v7, a3);\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_180069950 from 0x180069950 to 0x1800699ef (159 bytes)\n; \n; 4 xrefs:\n; > sub_18000E700 @ 0x18000e885\n; > sub_18000F320 @ 0x18000f4f5\n; > sub_180010050 @ 0x18001025a\n; > <???> @ 0x1801f9570\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_8], rbx                                               ; +0x0, 0x180069950\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180069955\npush    rdi                                                            ; +0xa, 0x18006995a\nsub     rsp, 20h                                                       ; +0xb, 0x18006995b\nmov     eax, [rcx+64h]                                                 ; +0xf, 0x18006995f\nmovzx   esi, r8b                                                       ; +0x12, 0x180069962\nshr     eax, 8                                                         ; +0x16, 0x180069966\nmov     rdi, rdx                                                       ; +0x19, 0x180069969\nmov     rbx, rcx                                                       ; +0x1c, 0x18006996c\nnop                                                                    ; +0x1f, 0x18006996f\ntest    al, 1                                                          ; +0x20, 0x180069970\njz      short loc_18006998D                                            ; +0x22, 0x180069972\nmov     [rcx+228h], rdx                                                ; +0x24, 0x180069974\nxor     eax, eax                                                       ; +0x2b, 0x18006997b\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x2d, 0x18006997d\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x32, 0x180069982\nadd     rsp, 20h                                                       ; +0x37, 0x180069987\npop     rdi                                                            ; +0x3b, 0x18006998b\nretn                                                                   ; +0x3c, 0x18006998c\nmov     rcx, [rcx+0A8h]                                                ; +0x3d, 0x18006998d\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x44, 0x180069994\nmovzx   r9d, sil                                                       ; +0x49, 0x180069999\nmov     r8d, 18h                                                       ; +0x4d, 0x18006999d\ncall    sub_1800FCF40                                                  ; +0x53, 0x1800699a3\ntest    eax, eax                                                       ; +0x58, 0x1800699a8\njnz     short loc_1800699DF                                            ; +0x5a, 0x1800699aa\nmov     rax, [rsp+28h+arg_0]                                           ; +0x5c, 0x1800699ac\nmovzx   r8d, sil                                                       ; +0x61, 0x1800699b1\nmov     byte ptr [rax], 10h                                            ; +0x65, 0x1800699b5\nmov     rax, [rsp+28h+arg_0]                                           ; +0x68, 0x1800699b8\nmov     [rax+8], rbx                                                   ; +0x6d, 0x1800699bd\nmov     rax, [rsp+28h+arg_0]                                           ; +0x71, 0x1800699c1\nmov     [rax+10h], rdi                                                 ; +0x76, 0x1800699c6\nmov     rdx, [rsp+28h+arg_0]                                           ; +0x7a, 0x1800699ca\nmov     rcx, [rbx+0A8h]                                                ; +0x7f, 0x1800699cf\ncall    sub_1800FD370                                                  ; +0x86, 0x1800699d6\ntest    eax, eax                                                       ; +0x8b, 0x1800699db\njnz     short $+2                                                      ; +0x8d, 0x1800699dd\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x8f, 0x1800699df\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x94, 0x1800699e4\nadd     rsp, 20h                                                       ; +0x99, 0x1800699e9\npop     rdi                                                            ; +0x9d, 0x1800699ed\nretn                                                                   ; +0x9e, 0x1800699ee", "xrefs": ["sub_18000E700 @ 0x18000e885", "sub_18000F320 @ 0x18000f4f5", "sub_180010050 @ 0x18001025a", "<???> @ 0x1801f9570"], "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"}