{"type": "func", "start": 6442949520, "end": 6442949741, "name": "sub_180079B90", "pseudocode": "// \n// sub_180079B90 from 0x180079b90 to 0x180079c6d (221 bytes)\n// \n// 4 xrefs:\n// > sub_180079AE0 @ 0x180079afa\n// > sub_180079B90 @ 0x180079c37\n// > sub_180079B90 @ 0x180079c49\n// > <???> @ 0x1801b4ba8\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// Hidden C++ exception states: #wind=2\n_QWORD *__fastcall sub_180079B90(_QWORD *a1, __int64 a2, __int64 a3)\n{\n  _QWORD *v6; // r12\n  _QWORD *v7; // rsi\n  __int64 v9; // rax\n\n  v6 = (_QWORD *)*a1;\n  if ( !*(_BYTE *)(a2 + 25) )\n  {\n    v7 = operator new(0x60u);\n    sub_180016C80((__int64)(v7 + 4), a2 + 32);\n    sub_180016C80((__int64)(v7 + 8), a2 + 64);\n    *v7 = v6;\n    v7[2] = v6;\n    *((_WORD *)v7 + 12) = 0;\n    v7[1] = a3;\n    *((_BYTE *)v7 + 24) = *(_BYTE *)(a2 + 24);\n    if ( *((_BYTE *)v6 + 25) )\n      v6 = v7;\n    try\n    {\n      *v7 = sub_180079B90(a1, *(_QWORD *)a2, v7);\n      v7[2] = sub_180079B90(a1, *(_QWORD *)(a2 + 16), v7);\n    }\n    catch ( ... )\n    {\n      v9 = kmVec4Lerp((__int64)a1);\n      sub_180079C70(a1, v9, v6);\n      throw;\n    }\n  }\n  return v6;\n}", "assembly": "; \n; sub_180079B90 from 0x180079b90 to 0x180079c6d (221 bytes)\n; \n; 4 xrefs:\n; > sub_180079AE0 @ 0x180079afa\n; > sub_180079B90 @ 0x180079c37\n; > sub_180079B90 @ 0x180079c49\n; > <???> @ 0x1801b4ba8\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_10], rbx                                              ; +0x0, 0x180079b90\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x180079b95\nmov     [rsp+arg_0], rcx                                               ; +0xa, 0x180079b9a\npush    rdi                                                            ; +0xf, 0x180079b9f\npush    r12                                                            ; +0x10, 0x180079ba0\npush    r13                                                            ; +0x12, 0x180079ba2\npush    r14                                                            ; +0x14, 0x180079ba4\npush    r15                                                            ; +0x16, 0x180079ba6\nsub     rsp, 30h                                                       ; +0x18, 0x180079ba8\nmov     r13, r8                                                        ; +0x1c, 0x180079bac\nmov     r15, rdx                                                       ; +0x1f, 0x180079baf\nmov     r14, rcx                                                       ; +0x22, 0x180079bb2\nmov     r12, [rcx]                                                     ; +0x25, 0x180079bb5\ncmp     byte ptr [rdx+19h], 0                                          ; +0x28, 0x180079bb8\njnz     loc_180079C52                                                  ; +0x2c, 0x180079bbc\nmov     [rsp+58h+var_38], rcx                                          ; +0x32, 0x180079bc2\nmov     [rsp+58h+var_30], 0                                            ; +0x37, 0x180079bc7\nmov     ecx, 60h ; '`'; Size                                           ; +0x40, 0x180079bd0\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x45, 0x180079bd5\nmov     rsi, rax                                                       ; +0x4a, 0x180079bda\nmov     [rsp+58h+var_30], rax                                          ; +0x4d, 0x180079bdd\nlea     rbx, [rax+20h]                                                 ; +0x52, 0x180079be2\nmov     [rsp+58h+arg_8], rbx                                           ; +0x56, 0x180079be6\nlea     rdx, [r15+20h]                                                 ; +0x5b, 0x180079beb\nmov     rcx, rbx                                                       ; +0x5f, 0x180079bef\ncall    sub_180016C80                                                  ; +0x62, 0x180079bf2\nnop                                                                    ; +0x67, 0x180079bf7\nlea     rdx, [r15+40h]                                                 ; +0x68, 0x180079bf8\nlea     rcx, [rbx+20h]                                                 ; +0x6c, 0x180079bfc\ncall    sub_180016C80                                                  ; +0x70, 0x180079c00\nnop                                                                    ; +0x75, 0x180079c05\nmov     [rsi], r12                                                     ; +0x76, 0x180079c06\nmov     [rsi+10h], r12                                                 ; +0x79, 0x180079c09\nmov     word ptr [rsi+18h], 0                                          ; +0x7d, 0x180079c0d\nmov     [rsi+8], r13                                                   ; +0x83, 0x180079c13\nmovzx   eax, byte ptr [r15+18h]                                        ; +0x87, 0x180079c17\nmov     [rsi+18h], al                                                  ; +0x8c, 0x180079c1c\ncmp     byte ptr [r12+19h], 0                                          ; +0x8f, 0x180079c1f\ncmovnz  r12, rsi                                                       ; +0x95, 0x180079c25\nmov     [rsp+58h+arg_8], r12                                           ; +0x99, 0x180079c29\nmov     r8, rsi                                                        ; +0x9e, 0x180079c2e\nmov     rdx, [r15]                                                     ; +0xa1, 0x180079c31\nmov     rcx, r14                                                       ; +0xa4, 0x180079c34\ncall    sub_180079B90                                                  ; +0xa7, 0x180079c37\nmov     [rsi], rax                                                     ; +0xac, 0x180079c3c\nmov     r8, rsi                                                        ; +0xaf, 0x180079c3f\nmov     rdx, [r15+10h]                                                 ; +0xb2, 0x180079c42\nmov     rcx, r14                                                       ; +0xb6, 0x180079c46\ncall    sub_180079B90                                                  ; +0xb9, 0x180079c49\nmov     [rsi+10h], rax                                                 ; +0xbe, 0x180079c4e\nmov     rax, r12                                                       ; +0xc2, 0x180079c52\nmov     rbx, [rsp+58h+arg_10]                                          ; +0xc5, 0x180079c55\nmov     rsi, [rsp+58h+arg_18]                                          ; +0xca, 0x180079c5a\nadd     rsp, 30h                                                       ; +0xcf, 0x180079c5f\npop     r15                                                            ; +0xd3, 0x180079c63\npop     r14                                                            ; +0xd5, 0x180079c65\npop     r13                                                            ; +0xd7, 0x180079c67\npop     r12                                                            ; +0xd9, 0x180079c69\npop     rdi                                                            ; +0xdb, 0x180079c6b\nretn                                                                   ; +0xdc, 0x180079c6c", "xrefs": ["sub_180079AE0 @ 0x180079afa", "sub_180079B90 @ 0x180079c37", "sub_180079B90 @ 0x180079c49", "<???> @ 0x1801b4ba8"], "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"}