{"type": "func", "start": 6443536208, "end": 6443536247, "name": "sub_180108F50", "pseudocode": "// \n// sub_180108F50 from 0x180108f50 to 0x180108f77 (39 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801b07c8\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:54:32 +0000\n// \n\n__int64 __fastcall sub_180108F50(__int64 *a1, int a2, int a3)\n{\n  __int64 v3; // r9\n  int v4; // edx\n\n  v3 = *a1;\n  v4 = a2 - 2;\n  if ( v4 )\n  {\n    if ( v4 == 1 )\n    {\n      *(_DWORD *)(v3 + 760) = a3;\n      return 0;\n    }\n    else\n    {\n      return 31;\n    }\n  }\n  else\n  {\n    *(_DWORD *)(v3 + 748) = a3;\n    return 0;\n  }\n}", "assembly": "; \n; sub_180108F50 from 0x180108f50 to 0x180108f77 (39 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801b07c8\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:54:32 +0000\n; \nmov     r9, [rcx]                                                      ; +0x0, 0x180108f50\nsub     edx, 2                                                         ; +0x3, 0x180108f53\njz      short loc_180108F6D                                            ; +0x6, 0x180108f56\ncmp     edx, 1                                                         ; +0x8, 0x180108f58\njz      short loc_180108F63                                            ; +0xb, 0x180108f5b\nmov     eax, 1Fh                                                       ; +0xd, 0x180108f5d\nretn                                                                   ; +0x12, 0x180108f62\nmov     [r9+2F8h], r8d                                                 ; +0x13, 0x180108f63\nxor     eax, eax                                                       ; +0x1a, 0x180108f6a\nretn                                                                   ; +0x1c, 0x180108f6c\nmov     [r9+2ECh], r8d                                                 ; +0x1d, 0x180108f6d\nxor     eax, eax                                                       ; +0x24, 0x180108f74\nretn                                                                   ; +0x26, 0x180108f76", "xrefs": ["<???> @ 0x1801b07c8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}