{"type": "func", "start": 6443558480, "end": 6443558812, "name": "sub_18010E650", "pseudocode": "// \n// sub_18010E650 from 0x18010e650 to 0x18010e79c (332 bytes)\n// \n// 4 xrefs:\n// > sub_180110290 @ 0x18011079a\n// > <???> @ 0x180190b5c\n// > <???> @ 0x180190b6c\n// > <???> @ 0x180201a84\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_18010E650(__int64 a1, unsigned int a2, __int64 a3, __int64 a4, int a5, int a6)\n{\n  _DWORD *v7; // rbx\n  __int64 result; // rax\n  bool v9; // r8\n  bool v10; // cl\n  bool v11; // dl\n  bool v12; // al\n  bool v13; // cl\n  unsigned int v14; // r15d\n  __int64 v15; // r12\n  __int64 v16; // r14\n  __int64 v17; // rbp\n  _DWORD *v18; // rsi\n  _QWORD *v19; // rdi\n  int v20; // eax\n\n  v7 = *(_DWORD **)(a1 + 8);\n  if ( a6 == 1 )\n  {\n    if ( a5 )\n      return 11;\n    v9 = 0;\n    v10 = 0;\n    v11 = 0;\n    if ( !v7[5] )\n      v10 = *v7 == 0;\n    v12 = v10;\n    v13 = 0;\n    if ( !v7[10] )\n      v11 = v12;\n    if ( !v7[15] )\n      v13 = v11;\n    if ( !v7[20] )\n      v9 = v13;\n    if ( v9 )\n      return 6;\n  }\n  else\n  {\n    v14 = **(_DWORD **)(a3 + 8);\n    v15 = **(_QWORD **)(a3 + 24);\n    v16 = **(_QWORD **)(a4 + 24);\n    result = sub_180110050(a1, v14);\n    if ( (_DWORD)result )\n      return result;\n    v17 = 5;\n    v18 = v7 + 34;\n    v19 = v7 + 46;\n    do\n    {\n      if ( *v7 )\n      {\n        ((void (__fastcall *)(__int64, __int64, _QWORD, _DWORD *, _DWORD *, _QWORD, unsigned int))*(v19 - 10))(\n          v15,\n          v16,\n          a2,\n          v18 - 5,\n          v18,\n          *v19,\n          v14);\n        v20 = *((_DWORD *)v19 - 3);\n        v15 = v16;\n        *(_OWORD *)((char *)v19 - 68) = *(_OWORD *)((char *)v19 - 28);\n        *((_DWORD *)v19 - 13) = v20;\n        *(_OWORD *)v18 = 0;\n        v18[4] = 0;\n      }\n      v18 += 24;\n      v7 += 5;\n      v19 += 12;\n      --v17;\n    }\n    while ( v17 );\n  }\n  return 0;\n}", "assembly": "; \n; sub_18010E650 from 0x18010e650 to 0x18010e79c (332 bytes)\n; \n; 4 xrefs:\n; > sub_180110290 @ 0x18011079a\n; > <???> @ 0x180190b5c\n; > <???> @ 0x180190b6c\n; > <???> @ 0x180201a84\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\npush    rbx                                                            ; +0x0, 0x18010e650\npush    r12                                                            ; +0x2, 0x18010e652\npush    r13                                                            ; +0x4, 0x18010e654\npush    r14                                                            ; +0x6, 0x18010e656\npush    r15                                                            ; +0x8, 0x18010e658\nsub     rsp, 40h                                                       ; +0xa, 0x18010e65a\ncmp     [rsp+68h+arg_28], 1                                            ; +0xe, 0x18010e65e\nmov     r13d, edx                                                      ; +0x16, 0x18010e666\nmov     rbx, [rcx+8]                                                   ; +0x19, 0x18010e669\njnz     short loc_18010E6DD                                            ; +0x1d, 0x18010e66d\ncmp     [rsp+68h+arg_20], 0                                            ; +0x1f, 0x18010e66f\njz      short loc_18010E68C                                            ; +0x27, 0x18010e677\nmov     eax, 0Bh                                                       ; +0x29, 0x18010e679\nadd     rsp, 40h                                                       ; +0x2e, 0x18010e67e\npop     r15                                                            ; +0x32, 0x18010e682\npop     r14                                                            ; +0x34, 0x18010e684\npop     r13                                                            ; +0x36, 0x18010e686\npop     r12                                                            ; +0x38, 0x18010e688\npop     rbx                                                            ; +0x3a, 0x18010e68a\nretn                                                                   ; +0x3b, 0x18010e68b\ncmp     dword ptr [rbx], 0                                             ; +0x3c, 0x18010e68c\nsetz    al                                                             ; +0x3f, 0x18010e68f\nxor     r8d, r8d                                                       ; +0x42, 0x18010e692\nmov     ecx, r8d                                                       ; +0x45, 0x18010e695\nmov     edx, r8d                                                       ; +0x48, 0x18010e698\ncmp     [rbx+14h], ecx                                                 ; +0x4b, 0x18010e69b\ncmovz   ecx, eax                                                       ; +0x4e, 0x18010e69e\ncmp     [rbx+28h], edx                                                 ; +0x51, 0x18010e6a1\nmovzx   eax, cl                                                        ; +0x54, 0x18010e6a4\nmov     ecx, r8d                                                       ; +0x57, 0x18010e6a7\ncmovz   edx, eax                                                       ; +0x5a, 0x18010e6aa\ncmp     [rbx+3Ch], ecx                                                 ; +0x5d, 0x18010e6ad\nmovzx   eax, dl                                                        ; +0x60, 0x18010e6b0\ncmovz   ecx, eax                                                       ; +0x63, 0x18010e6b3\ncmp     [rbx+50h], r8d                                                 ; +0x66, 0x18010e6b6\nmovzx   eax, cl                                                        ; +0x6a, 0x18010e6ba\ncmovz   r8d, eax                                                       ; +0x6d, 0x18010e6bd\ntest    r8b, r8b                                                       ; +0x71, 0x18010e6c1\njz      loc_18010E78C                                                  ; +0x74, 0x18010e6c4\nmov     eax, 6                                                         ; +0x7a, 0x18010e6ca\nadd     rsp, 40h                                                       ; +0x7f, 0x18010e6cf\npop     r15                                                            ; +0x83, 0x18010e6d3\npop     r14                                                            ; +0x85, 0x18010e6d5\npop     r13                                                            ; +0x87, 0x18010e6d7\npop     r12                                                            ; +0x89, 0x18010e6d9\npop     rbx                                                            ; +0x8b, 0x18010e6db\nretn                                                                   ; +0x8c, 0x18010e6dc\nmov     rax, [r8+8]                                                    ; +0x8d, 0x18010e6dd\nmov     r15d, [rax]                                                    ; +0x91, 0x18010e6e1\nmov     edx, r15d                                                      ; +0x94, 0x18010e6e4\nmov     rax, [r8+18h]                                                  ; +0x97, 0x18010e6e7\nmov     r12, [rax]                                                     ; +0x9b, 0x18010e6eb\nmov     rax, [r9+18h]                                                  ; +0x9e, 0x18010e6ee\nmov     r14, [rax]                                                     ; +0xa2, 0x18010e6f2\ncall    sub_180110050                                                  ; +0xa5, 0x18010e6f5\ntest    eax, eax                                                       ; +0xaa, 0x18010e6fa\njnz     loc_18010E78E                                                  ; +0xac, 0x18010e6fc\nmov     [rsp+68h+arg_0], rbp                                           ; +0xb2, 0x18010e702\nlea     ebp, [rax+5]                                                   ; +0xb7, 0x18010e707\nmov     [rsp+68h+arg_8], rsi                                           ; +0xba, 0x18010e70a\nlea     rsi, [rbx+88h]                                                 ; +0xbf, 0x18010e70f\nmov     [rsp+68h+arg_10], rdi                                          ; +0xc6, 0x18010e716\nlea     rdi, [rbx+0B8h]                                                ; +0xce, 0x18010e71e\ncmp     dword ptr [rbx], 0                                             ; +0xd5, 0x18010e725\njz      short loc_18010E768                                            ; +0xd8, 0x18010e728\nmov     rax, [rdi]                                                     ; +0xda, 0x18010e72a\nlea     r9, [rsi-14h]                                                  ; +0xdd, 0x18010e72d\nmov     [rsp+68h+var_38], r15d                                         ; +0xe1, 0x18010e731\nmov     r8d, r13d                                                      ; +0xe6, 0x18010e736\nmov     [rsp+68h+var_40], rax                                          ; +0xe9, 0x18010e739\nmov     rdx, r14                                                       ; +0xee, 0x18010e73e\nmov     rcx, r12                                                       ; +0xf1, 0x18010e741\nmov     [rsp+68h+var_48], rsi                                          ; +0xf4, 0x18010e744\ncall    qword ptr [rdi-50h]                                            ; +0xf9, 0x18010e749\nmovups  xmm0, xmmword ptr [rdi-1Ch]                                    ; +0xfc, 0x18010e74c\nmov     eax, [rdi-0Ch]                                                 ; +0x100, 0x18010e750\nmov     r12, r14                                                       ; +0x103, 0x18010e753\nmovups  xmmword ptr [rdi-44h], xmm0                                    ; +0x106, 0x18010e756\nmov     [rdi-34h], eax                                                 ; +0x10a, 0x18010e75a\nxor     eax, eax                                                       ; +0x10d, 0x18010e75d\nxorps   xmm0, xmm0                                                     ; +0x10f, 0x18010e75f\nmovups  xmmword ptr [rsi], xmm0                                        ; +0x112, 0x18010e762\nmov     [rsi+10h], eax                                                 ; +0x115, 0x18010e765\nadd     rsi, 60h ; '`'                                                 ; +0x118, 0x18010e768\nadd     rbx, 14h                                                       ; +0x11c, 0x18010e76c\nadd     rdi, 60h ; '`'                                                 ; +0x120, 0x18010e770\nsub     rbp, 1                                                         ; +0x124, 0x18010e774\njnz     short loc_18010E725                                            ; +0x128, 0x18010e778\nmov     rdi, [rsp+68h+arg_10]                                          ; +0x12a, 0x18010e77a\nmov     rsi, [rsp+68h+arg_8]                                           ; +0x132, 0x18010e782\nmov     rbp, [rsp+68h+arg_0]                                           ; +0x137, 0x18010e787\nxor     eax, eax                                                       ; +0x13c, 0x18010e78c\nadd     rsp, 40h                                                       ; +0x13e, 0x18010e78e\npop     r15                                                            ; +0x142, 0x18010e792\npop     r14                                                            ; +0x144, 0x18010e794\npop     r13                                                            ; +0x146, 0x18010e796\npop     r12                                                            ; +0x148, 0x18010e798\npop     rbx                                                            ; +0x14a, 0x18010e79a\nretn                                                                   ; +0x14b, 0x18010e79b", "xrefs": ["sub_180110290 @ 0x18011079a", "<???> @ 0x180190b5c", "<???> @ 0x180190b6c", "<???> @ 0x180201a84"], "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"}