{"type": "func", "start": 6443531104, "end": 6443531149, "name": "sub_180107B60", "pseudocode": "// \n// sub_180107B60 from 0x180107b60 to 0x180107b8d (45 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801b0688\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_180107B60(__int64 *a1, int a2, int a3)\n{\n  __int64 v3; // r9\n\n  v3 = *a1;\n  if ( (unsigned int)(a2 - 33) > 0x1F )\n  {\n    if ( a2 )\n    {\n      return 31;\n    }\n    else\n    {\n      *(_DWORD *)(v3 + 9304) = a3;\n      return 0;\n    }\n  }\n  else\n  {\n    *(_DWORD *)(v3 + 4LL * a2 + 9176) = a3;\n    return 0;\n  }\n}", "assembly": "; \n; sub_180107B60 from 0x180107b60 to 0x180107b8d (45 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801b0688\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, 0x180107b60\nlea     eax, [rdx-21h]                                                 ; +0x3, 0x180107b63\ncmp     eax, 1Fh                                                       ; +0x6, 0x180107b66\nja      short loc_180107B79                                            ; +0x9, 0x180107b69\nmovsxd  rax, edx                                                       ; +0xb, 0x180107b6b\nmov     [r9+rax*4+23D8h], r8d                                          ; +0xe, 0x180107b6e\nxor     eax, eax                                                       ; +0x16, 0x180107b76\nretn                                                                   ; +0x18, 0x180107b78\ntest    edx, edx                                                       ; +0x19, 0x180107b79\njz      short loc_180107B83                                            ; +0x1b, 0x180107b7b\nmov     eax, 1Fh                                                       ; +0x1d, 0x180107b7d\nretn                                                                   ; +0x22, 0x180107b82\nmov     [r9+2458h], r8d                                                ; +0x23, 0x180107b83\nxor     eax, eax                                                       ; +0x2a, 0x180107b8a\nretn                                                                   ; +0x2c, 0x180107b8c", "xrefs": ["<???> @ 0x1801b0688"], "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"}