{"type": "func", "start": 6442961952, "end": 6442962174, "name": "sub_18007CC20", "pseudocode": "// \n// sub_18007CC20 from 0x18007cc20 to 0x18007ccfe (222 bytes)\n// \n// 4 xrefs:\n// > sub_18007CB70 @ 0x18007cb92\n// > sub_18007CC20 @ 0x18007ccc1\n// > sub_18007CC20 @ 0x18007ccd3\n// > <???> @ 0x1801beeb4\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 11:22:00 +0000\n// \n\n// Hidden C++ exception states: #wind=3\n__int64 __fastcall sub_18007CC20(__int64 *a1, __int64 a2, __int64 a3)\n{\n  __int64 v6; // rbp\n  __int64 v7; // rsi\n\n  v6 = *a1;\n  if ( *(_BYTE *)(a2 + 25) )\n    return *a1;\n  v7 = sub_1800E4AC0(0x60u);\n  sub_180016870(v7 + 32, a2 + 32);\n  sub_180016870(v7 + 64, a2 + 64);\n  *(_QWORD *)v7 = v6;\n  *(_QWORD *)(v7 + 16) = v6;\n  *(_WORD *)(v7 + 24) = 0;\n  *(_QWORD *)(v7 + 8) = a3;\n  *(_BYTE *)(v7 + 24) = *(_BYTE *)(a2 + 24);\n  *(_QWORD *)v7 = sub_18007CC20(a1, *(_QWORD *)a2, v7);\n  *(_QWORD *)(v7 + 16) = sub_18007CC20(a1, *(_QWORD *)(a2 + 16), v7);\n  return v7;\n}", "assembly": "; \n; sub_18007CC20 from 0x18007cc20 to 0x18007ccfe (222 bytes)\n; \n; 4 xrefs:\n; > sub_18007CB70 @ 0x18007cb92\n; > sub_18007CC20 @ 0x18007ccc1\n; > sub_18007CC20 @ 0x18007ccd3\n; > <???> @ 0x1801beeb4\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 11:22:00 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18007cc20\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x18007cc25\npush    rsi                                                            ; +0xa, 0x18007cc2a\npush    rdi                                                            ; +0xb, 0x18007cc2b\npush    r12                                                            ; +0xc, 0x18007cc2c\npush    r14                                                            ; +0xe, 0x18007cc2e\npush    r15                                                            ; +0x10, 0x18007cc30\nsub     rsp, 40h                                                       ; +0x12, 0x18007cc32\nmov     r12, r8                                                        ; +0x16, 0x18007cc36\nmov     r15, rdx                                                       ; +0x19, 0x18007cc39\nmov     r14, rcx                                                       ; +0x1c, 0x18007cc3c\nmov     rbp, [rcx]                                                     ; +0x1f, 0x18007cc3f\ncmp     byte ptr [rdx+19h], 0                                          ; +0x22, 0x18007cc42\njnz     loc_18007CCE1                                                  ; +0x26, 0x18007cc46\nmov     [rsp+68h+var_48], rcx                                          ; +0x2c, 0x18007cc4c\nmov     [rsp+68h+var_40], 0                                            ; +0x31, 0x18007cc51\nmov     ecx, 60h ; '`'; Size                                           ; +0x3a, 0x18007cc5a\ncall    sub_1800E4AC0                                                  ; +0x3f, 0x18007cc5f\nmov     rsi, rax                                                       ; +0x44, 0x18007cc64\nmov     [rsp+68h+var_40], rax                                          ; +0x47, 0x18007cc67\nlea     rbx, [rax+20h]                                                 ; +0x4c, 0x18007cc6c\nmov     [rsp+68h+arg_0], rbx                                           ; +0x50, 0x18007cc70\nlea     rdx, [r15+20h]                                                 ; +0x55, 0x18007cc75\nmov     rcx, rbx                                                       ; +0x59, 0x18007cc79\ncall    sub_180016870                                                  ; +0x5c, 0x18007cc7c\nnop                                                                    ; +0x61, 0x18007cc81\nlea     rdx, [r15+40h]                                                 ; +0x62, 0x18007cc82\nlea     rcx, [rbx+20h]                                                 ; +0x66, 0x18007cc86\ncall    sub_180016870                                                  ; +0x6a, 0x18007cc8a\nnop                                                                    ; +0x6f, 0x18007cc8f\nmov     [rsi], rbp                                                     ; +0x70, 0x18007cc90\nmov     [rsi+10h], rbp                                                 ; +0x73, 0x18007cc93\nmov     word ptr [rsi+18h], 0                                          ; +0x77, 0x18007cc97\nmov     [rsi+8], r12                                                   ; +0x7d, 0x18007cc9d\nmovzx   eax, byte ptr [r15+18h]                                        ; +0x81, 0x18007cca1\nmov     [rsi+18h], al                                                  ; +0x86, 0x18007cca6\nmov     [rsp+68h+var_48], r14                                          ; +0x89, 0x18007cca9\nmov     [rsp+68h+var_40], r14                                          ; +0x8e, 0x18007ccae\nmov     [rsp+68h+var_38], rsi                                          ; +0x93, 0x18007ccb3\nmov     r8, rsi                                                        ; +0x98, 0x18007ccb8\nmov     rdx, [r15]                                                     ; +0x9b, 0x18007ccbb\nmov     rcx, r14                                                       ; +0x9e, 0x18007ccbe\ncall    sub_18007CC20                                                  ; +0xa1, 0x18007ccc1\nmov     [rsi], rax                                                     ; +0xa6, 0x18007ccc6\nmov     r8, rsi                                                        ; +0xa9, 0x18007ccc9\nmov     rdx, [r15+10h]                                                 ; +0xac, 0x18007cccc\nmov     rcx, r14                                                       ; +0xb0, 0x18007ccd0\ncall    sub_18007CC20                                                  ; +0xb3, 0x18007ccd3\nmov     [rsi+10h], rax                                                 ; +0xb8, 0x18007ccd8\nmov     rax, rsi                                                       ; +0xbc, 0x18007ccdc\njmp     short loc_18007CCE4                                            ; +0xbf, 0x18007ccdf\nmov     rax, rbp                                                       ; +0xc1, 0x18007cce1\nmov     rbx, [rsp+68h+arg_8]                                           ; +0xc4, 0x18007cce4\nmov     rbp, [rsp+68h+arg_10]                                          ; +0xc9, 0x18007cce9\nadd     rsp, 40h                                                       ; +0xd1, 0x18007ccf1\npop     r15                                                            ; +0xd5, 0x18007ccf5\npop     r14                                                            ; +0xd7, 0x18007ccf7\npop     r12                                                            ; +0xd9, 0x18007ccf9\npop     rdi                                                            ; +0xdb, 0x18007ccfb\npop     rsi                                                            ; +0xdc, 0x18007ccfc\nretn                                                                   ; +0xdd, 0x18007ccfd", "xrefs": ["sub_18007CB70 @ 0x18007cb92", "sub_18007CC20 @ 0x18007ccc1", "sub_18007CC20 @ 0x18007ccd3", "<???> @ 0x1801beeb4"], "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"}