{"type": "func", "start": 6443006960, "end": 6443007052, "name": "sub_180087BF0", "pseudocode": "// \n// sub_180087BF0 from 0x180087bf0 to 0x180087c4c (92 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801ae398\n// > <???> @ 0x1801fa290\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:53:41 +0000\n// \n\n__int64 __fastcall sub_180087BF0(__int64 *a1, int a2, _DWORD *a3, __int64 a4)\n{\n  __int64 v5; // r9\n  int v6; // r9d\n\n  v5 = *a1;\n  if ( a2 )\n  {\n    if ( a2 == 1 )\n    {\n      *a3 = *(_DWORD *)(v5 + 600);\n      if ( a4 )\n      {\n        v6 = *(_DWORD *)(v5 + 600);\n        goto LABEL_7;\n      }\n    }\n  }\n  else\n  {\n    *a3 = *(_DWORD *)(v5 + 632);\n    if ( a4 )\n    {\n      v6 = *(_DWORD *)(v5 + 632);\nLABEL_7:\n      sub_1800B7CA0(a4, 32, \"%d\", v6);\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_180087BF0 from 0x180087bf0 to 0x180087c4c (92 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801ae398\n; > <???> @ 0x1801fa290\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:53:41 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x180087bf0\nmov     r10, r9                                                        ; +0x4, 0x180087bf4\nmov     r9, [rcx]                                                      ; +0x7, 0x180087bf7\ntest    edx, edx                                                       ; +0xa, 0x180087bfa\njnz     short loc_180087C16                                            ; +0xc, 0x180087bfc\nmov     eax, [r9+278h]                                                 ; +0xe, 0x180087bfe\nmov     [r8], eax                                                      ; +0x15, 0x180087c05\ntest    r10, r10                                                       ; +0x18, 0x180087c08\njz      short loc_180087C45                                            ; +0x1b, 0x180087c0b\nmov     r9d, [r9+278h]                                                 ; +0x1d, 0x180087c0d\njmp     short loc_180087C31                                            ; +0x24, 0x180087c14\ncmp     edx, 1                                                         ; +0x26, 0x180087c16\njnz     short loc_180087C45                                            ; +0x29, 0x180087c19\nmov     eax, [r9+258h]                                                 ; +0x2b, 0x180087c1b\nmov     [r8], eax                                                      ; +0x32, 0x180087c22\ntest    r10, r10                                                       ; +0x35, 0x180087c25\njz      short loc_180087C45                                            ; +0x38, 0x180087c28\nmov     r9d, [r9+258h]                                                 ; +0x3a, 0x180087c2a\nlea     r8, aD; \"%d\"                                                   ; +0x41, 0x180087c31\nmov     edx, 20h ; ' '                                                 ; +0x48, 0x180087c38\nmov     rcx, r10                                                       ; +0x4d, 0x180087c3d\ncall    sub_1800B7CA0                                                  ; +0x50, 0x180087c40\nxor     eax, eax                                                       ; +0x55, 0x180087c45\nadd     rsp, 28h                                                       ; +0x57, 0x180087c47\nretn                                                                   ; +0x5b, 0x180087c4b", "xrefs": ["<???> @ 0x1801ae398", "<???> @ 0x1801fa290"], "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"}