{"type": "func", "start": 6442800480, "end": 6442800575, "name": "sub_180055560", "pseudocode": "// \n// sub_180055560 from 0x180055560 to 0x1800555bf (95 bytes)\n// \n// 2 xrefs:\n// > sub_180055620 @ 0x180055abb\n// > sub_1800D74A0 @ 0x1800d75c5\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_180055560(__int64 a1, int a2, __int64 a3)\n{\n  __int64 v3; // r9\n  int v5; // eax\n  __int64 v6; // rcx\n\n  v3 = *(_QWORD *)(a1 + 8);\n  if ( !v3 )\n    return 53;\n  if ( a2 < 0 )\n    return 31;\n  v5 = *(_DWORD *)(a1 + 24);\n  if ( v5 )\n  {\n    if ( v5 > 0 && a2 >= v5 )\n      return 31;\n  }\n  else if ( a2 > 0 )\n  {\n    return 31;\n  }\n  v6 = 56LL * a2;\n  *(_OWORD *)a3 = *(_OWORD *)(v6 + v3);\n  *(_OWORD *)(a3 + 16) = *(_OWORD *)(v6 + v3 + 16);\n  *(_OWORD *)(a3 + 32) = *(_OWORD *)(v6 + v3 + 32);\n  *(_QWORD *)(a3 + 48) = *(_QWORD *)(v6 + v3 + 48);\n  return 0;\n}", "assembly": "; \n; sub_180055560 from 0x180055560 to 0x1800555bf (95 bytes)\n; \n; 2 xrefs:\n; > sub_180055620 @ 0x180055abb\n; > sub_1800D74A0 @ 0x1800d75c5\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     r9, [rcx+8]                                                    ; +0x0, 0x180055560\ntest    r9, r9                                                         ; +0x4, 0x180055564\njnz     short loc_18005556E                                            ; +0x7, 0x180055567\nlea     eax, [r9+35h]                                                  ; +0x9, 0x180055569\nretn                                                                   ; +0xd, 0x18005556d\ntest    edx, edx                                                       ; +0xe, 0x18005556e\njs      short loc_18005557D                                            ; +0x10, 0x180055570\nmov     eax, [rcx+18h]                                                 ; +0x12, 0x180055572\ntest    eax, eax                                                       ; +0x15, 0x180055575\njnz     short loc_180055583                                            ; +0x17, 0x180055577\ntest    edx, edx                                                       ; +0x19, 0x180055579\njle     short loc_180055589                                            ; +0x1b, 0x18005557b\nmov     eax, 1Fh                                                       ; +0x1d, 0x18005557d\nretn                                                                   ; +0x22, 0x180055582\njle     short loc_180055589                                            ; +0x23, 0x180055583\ncmp     edx, eax                                                       ; +0x25, 0x180055585\njge     short loc_18005557D                                            ; +0x27, 0x180055587\nmovsxd  rax, edx                                                       ; +0x29, 0x180055589\nimul    rcx, rax, 38h ; '8'                                            ; +0x2c, 0x18005558c\nxor     eax, eax                                                       ; +0x30, 0x180055590\nmovups  xmm0, xmmword ptr [rcx+r9]                                     ; +0x32, 0x180055592\nmovups  xmmword ptr [r8], xmm0                                         ; +0x37, 0x180055597\nmovups  xmm1, xmmword ptr [rcx+r9+10h]                                 ; +0x3b, 0x18005559b\nmovups  xmmword ptr [r8+10h], xmm1                                     ; +0x41, 0x1800555a1\nmovups  xmm0, xmmword ptr [rcx+r9+20h]                                 ; +0x46, 0x1800555a6\nmovups  xmmword ptr [r8+20h], xmm0                                     ; +0x4c, 0x1800555ac\nmovsd   xmm1, qword ptr [rcx+r9+30h]                                   ; +0x51, 0x1800555b1\nmovsd   qword ptr [r8+30h], xmm1                                       ; +0x58, 0x1800555b8\nretn                                                                   ; +0x5e, 0x1800555be", "xrefs": ["sub_180055620 @ 0x180055abb", "sub_1800D74A0 @ 0x1800d75c5"], "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"}