{"type": "func", "start": 6442913888, "end": 6442913947, "name": "sub_180071060", "pseudocode": "// \n// sub_180071060 from 0x180071060 to 0x18007109b (59 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801ad230\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_180071060(__int64 *a1, int a2, unsigned int a3)\n{\n  __int64 v3; // r9\n  __int64 result; // rax\n  unsigned int v5; // edx\n  unsigned int v6; // ecx\n\n  v3 = *a1;\n  if ( a2 )\n  {\n    v5 = *(_DWORD *)(v3 + 1160);\n    if ( v5 )\n    {\n      result = 0;\n      v6 = v5 - a3;\n      if ( v5 <= a3 )\n        v6 = 0;\n      *(_DWORD *)(v3 + 1160) = v6;\n    }\n    else\n    {\n      return 11;\n    }\n  }\n  else\n  {\n    *(_DWORD *)(v3 + 1160) = 4;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_180071060 from 0x180071060 to 0x18007109b (59 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801ad230\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]                                                      ; +0x0, 0x180071060\ntest    edx, edx                                                       ; +0x3, 0x180071063\njnz     short loc_180071075                                            ; +0x5, 0x180071065\nmov     dword ptr [r9+488h], 4                                         ; +0x7, 0x180071067\nxor     eax, eax                                                       ; +0x12, 0x180071072\nretn                                                                   ; +0x14, 0x180071074\nmov     edx, [r9+488h]                                                 ; +0x15, 0x180071075\ntest    edx, edx                                                       ; +0x1c, 0x18007107c\njnz     short loc_180071086                                            ; +0x1e, 0x18007107e\nmov     eax, 0Bh                                                       ; +0x20, 0x180071080\nretn                                                                   ; +0x25, 0x180071085\nxor     eax, eax                                                       ; +0x26, 0x180071086\nmov     ecx, edx                                                       ; +0x28, 0x180071088\nsub     ecx, r8d                                                       ; +0x2a, 0x18007108a\ncmp     edx, r8d                                                       ; +0x2d, 0x18007108d\ncmovbe  ecx, eax                                                       ; +0x30, 0x180071090\nmov     [r9+488h], ecx                                                 ; +0x33, 0x180071093\nretn                                                                   ; +0x3a, 0x18007109a", "xrefs": ["<???> @ 0x1801ad230"], "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"}