{"type": "func", "start": 6443542576, "end": 6443542629, "name": "sub_18010A830", "pseudocode": "// \n// sub_18010A830 from 0x18010a830 to 0x18010a865 (53 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801b0928\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:33 +0000\n// \n\n__int64 __fastcall sub_18010A830(__int64 *a1, int a2, _DWORD *a3, _BYTE *a4)\n{\n  __int64 v4; // rax\n  int v5; // eax\n\n  v4 = *a1;\n  if ( !a3 )\n    return 31;\n  if ( a2 != 1 )\n  {\n    if ( a2 == 4 )\n    {\n      v5 = *(_DWORD *)(v4 + 688);\n      goto LABEL_6;\n    }\n    return 31;\n  }\n  v5 = *(_DWORD *)(v4 + 676);\nLABEL_6:\n  *a3 = v5;\n  if ( a4 )\n    *a4 = 0;\n  return 0;\n}", "assembly": "; \n; sub_18010A830 from 0x18010a830 to 0x18010a865 (53 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801b0928\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:33 +0000\n; \nmov     rax, [rcx]                                                     ; +0x0, 0x18010a830\ntest    r8, r8                                                         ; +0x3, 0x18010a833\njz      short loc_18010A85F                                            ; +0x6, 0x18010a836\ncmp     edx, 1                                                         ; +0x8, 0x18010a838\njnz     short loc_18010A845                                            ; +0xb, 0x18010a83b\nmov     eax, [rax+2A4h]                                                ; +0xd, 0x18010a83d\njmp     short loc_18010A850                                            ; +0x13, 0x18010a843\ncmp     edx, 4                                                         ; +0x15, 0x18010a845\njnz     short loc_18010A85F                                            ; +0x18, 0x18010a848\nmov     eax, [rax+2B0h]                                                ; +0x1a, 0x18010a84a\nmov     [r8], eax                                                      ; +0x20, 0x18010a850\ntest    r9, r9                                                         ; +0x23, 0x18010a853\njz      short loc_18010A85C                                            ; +0x26, 0x18010a856\nmov     byte ptr [r9], 0                                               ; +0x28, 0x18010a858\nxor     eax, eax                                                       ; +0x2c, 0x18010a85c\nretn                                                                   ; +0x2e, 0x18010a85e\nmov     eax, 1Fh                                                       ; +0x2f, 0x18010a85f\nretn                                                                   ; +0x34, 0x18010a864", "xrefs": ["<???> @ 0x1801b0928"], "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"}