{"type": "func", "start": 6443680200, "end": 6443680317, "name": "unknown_libname_35", "pseudocode": "// \n// unknown_libname_35 from 0x18012c1c8 to 0x18012c23d (117 bytes)\n// \n// 4 xrefs:\n// > sub_18012D394 @ 0x18012d56b\n// > sub_18012D394 @ 0x18012d5ac\n// > sub_18012D394 @ 0x18012d5d9\n// > <???> @ 0x180202bb8\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:57 +0000\n// \n\n// Microsoft VisualC 64bit universal runtime\n__int64 __fastcall unknown_libname_35(__int64 *a1, char a2, int a3, int *a4)\n{\n  int v4; // r10d\n  int i; // r11d\n  __int64 result; // rax\n\n  if ( a3 > 0 )\n  {\n    v4 = *a4;\n    for ( i = 0; i < a3; ++i )\n    {\n      result = *(_QWORD *)(*a1 + 8);\n      if ( *(_QWORD *)(*a1 + 16) == result )\n      {\n        if ( *(_BYTE *)(*a1 + 24) )\n          ++v4;\n        else\n          v4 = -1;\n        *a4 = v4;\n      }\n      else\n      {\n        *a4 = v4 + 1;\n        ++*(_QWORD *)(*a1 + 16);\n        **(_BYTE **)*a1 = a2;\n        result = *a1;\n        ++*(_QWORD *)*a1;\n        v4 = *a4;\n      }\n      if ( v4 == -1 )\n        break;\n    }\n  }\n  return result;\n}", "assembly": "; \n; unknown_libname_35 from 0x18012c1c8 to 0x18012c23d (117 bytes)\n; \n; 4 xrefs:\n; > sub_18012D394 @ 0x18012d56b\n; > sub_18012D394 @ 0x18012d5ac\n; > sub_18012D394 @ 0x18012d5d9\n; > <???> @ 0x180202bb8\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:57 +0000\n; \ntest    r8d, r8d                                                       ; +0x0, 0x18012c1c8\njle     short locret_18012C23C                                         ; +0x3, 0x18012c1cb\nmov     [rsp+arg_0], rbx                                               ; +0x5, 0x18012c1cd\nmov     [rsp+arg_8], rdi                                               ; +0xa, 0x18012c1d2\nmov     r10d, [r9]                                                     ; +0xf, 0x18012c1d7\nmov     dil, dl                                                        ; +0x12, 0x18012c1da\nmov     rbx, rcx                                                       ; +0x15, 0x18012c1dd\nxor     r11d, r11d                                                     ; +0x18, 0x18012c1e0\nmov     rdx, [rbx]                                                     ; +0x1b, 0x18012c1e3\nmov     rax, [rdx+8]                                                   ; +0x1e, 0x18012c1e6\ncmp     [rdx+10h], rax                                                 ; +0x22, 0x18012c1ea\njnz     short loc_18012C204                                            ; +0x26, 0x18012c1ee\ncmp     byte ptr [rdx+18h], 0                                          ; +0x28, 0x18012c1f0\njz      short loc_18012C1FB                                            ; +0x2c, 0x18012c1f4\ninc     r10d                                                           ; +0x2e, 0x18012c1f6\njmp     short loc_18012C1FF                                            ; +0x31, 0x18012c1f9\nor      r10d, 0FFFFFFFFh                                               ; +0x33, 0x18012c1fb\nmov     [r9], r10d                                                     ; +0x37, 0x18012c1ff\njmp     short loc_18012C224                                            ; +0x3a, 0x18012c202\nlea     eax, [r10+1]                                                   ; +0x3c, 0x18012c204\nmov     [r9], eax                                                      ; +0x40, 0x18012c208\nmov     rax, [rbx]                                                     ; +0x43, 0x18012c20b\ninc     qword ptr [rax+10h]                                            ; +0x46, 0x18012c20e\nmov     rax, [rbx]                                                     ; +0x4a, 0x18012c212\nmov     rcx, [rax]                                                     ; +0x4d, 0x18012c215\nmov     [rcx], dil                                                     ; +0x50, 0x18012c218\nmov     rax, [rbx]                                                     ; +0x53, 0x18012c21b\ninc     qword ptr [rax]                                                ; +0x56, 0x18012c21e\nmov     r10d, [r9]                                                     ; +0x59, 0x18012c221\ncmp     r10d, 0FFFFFFFFh                                               ; +0x5c, 0x18012c224\njz      short loc_18012C232                                            ; +0x60, 0x18012c228\ninc     r11d                                                           ; +0x62, 0x18012c22a\ncmp     r11d, r8d                                                      ; +0x65, 0x18012c22d\njl      short loc_18012C1E3                                            ; +0x68, 0x18012c230\nmov     rbx, [rsp+arg_0]                                               ; +0x6a, 0x18012c232\nmov     rdi, [rsp+arg_8]                                               ; +0x6f, 0x18012c237\nretn                                                                   ; +0x74, 0x18012c23c", "xrefs": ["sub_18012D394 @ 0x18012d56b", "sub_18012D394 @ 0x18012d5ac", "sub_18012D394 @ 0x18012d5d9", "<???> @ 0x180202bb8"], "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"}