{"type": "func", "start": 6443565056, "end": 6443565133, "name": "sub_180110000", "pseudocode": "// \n// sub_180110000 from 0x180110000 to 0x18011004d (77 bytes)\n// \n// 1 xrefs:\n// > sub_180110290 @ 0x1801107b6\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_180110000(__int64 a1, int a2, int a3)\n{\n  _DWORD *v3; // rax\n\n  v3 = *(_DWORD **)(a1 + 8);\n  if ( a2 )\n  {\n    if ( a2 == 4 )\n    {\n      ++v3[9];\n      v3[5] = a3;\n      return 0;\n    }\n    else if ( a2 == 8 )\n    {\n      ++v3[14];\n      v3[10] = a3;\n      return 0;\n    }\n    else if ( a2 == 12 )\n    {\n      ++v3[19];\n      v3[15] = a3;\n      return 0;\n    }\n    else\n    {\n      if ( a2 == 16 )\n      {\n        ++v3[24];\n        v3[20] = a3;\n      }\n      return 0;\n    }\n  }\n  else\n  {\n    ++v3[4];\n    *v3 = a3;\n    return 0;\n  }\n}", "assembly": "; \n; sub_180110000 from 0x180110000 to 0x18011004d (77 bytes)\n; \n; 1 xrefs:\n; > sub_180110290 @ 0x1801107b6\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     rax, [rcx+8]                                                   ; +0x0, 0x180110000\ntest    edx, edx                                                       ; +0x4, 0x180110004\njnz     short loc_180110011                                            ; +0x6, 0x180110006\ninc     dword ptr [rax+10h]                                            ; +0x8, 0x180110008\nmov     [rax], r8d                                                     ; +0xb, 0x18011000b\nxor     eax, eax                                                       ; +0xe, 0x18011000e\nretn                                                                   ; +0x10, 0x180110010\ncmp     edx, 4                                                         ; +0x11, 0x180110011\njnz     short loc_180110020                                            ; +0x14, 0x180110014\ninc     dword ptr [rax+24h]                                            ; +0x16, 0x180110016\nmov     [rax+14h], r8d                                                 ; +0x19, 0x180110019\nxor     eax, eax                                                       ; +0x1d, 0x18011001d\nretn                                                                   ; +0x1f, 0x18011001f\ncmp     edx, 8                                                         ; +0x20, 0x180110020\njnz     short loc_18011002F                                            ; +0x23, 0x180110023\ninc     dword ptr [rax+38h]                                            ; +0x25, 0x180110025\nmov     [rax+28h], r8d                                                 ; +0x28, 0x180110028\nxor     eax, eax                                                       ; +0x2c, 0x18011002c\nretn                                                                   ; +0x2e, 0x18011002e\ncmp     edx, 0Ch                                                       ; +0x2f, 0x18011002f\njnz     short loc_18011003E                                            ; +0x32, 0x180110032\ninc     dword ptr [rax+4Ch]                                            ; +0x34, 0x180110034\nmov     [rax+3Ch], r8d                                                 ; +0x37, 0x180110037\nxor     eax, eax                                                       ; +0x3b, 0x18011003b\nretn                                                                   ; +0x3d, 0x18011003d\ncmp     edx, 10h                                                       ; +0x3e, 0x18011003e\njnz     short loc_18011004A                                            ; +0x41, 0x180110041\ninc     dword ptr [rax+60h]                                            ; +0x43, 0x180110043\nmov     [rax+50h], r8d                                                 ; +0x46, 0x180110046\nxor     eax, eax                                                       ; +0x4a, 0x18011004a\nretn                                                                   ; +0x4c, 0x18011004c", "xrefs": ["sub_180110290 @ 0x1801107b6"], "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"}