{"type": "func", "start": 6443088240, "end": 6443088285, "name": "sub_18009B970", "pseudocode": "// \n// sub_18009B970 from 0x18009b970 to 0x18009b99d (45 bytes)\n// \n// 1 xrefs:\n// > sub_1800FC980 @ 0x1800fcd75\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:50 +0000\n// \n\n__int64 __fastcall sub_18009B970(__int64 a1, unsigned __int64 a2, unsigned __int64 a3, char a4)\n{\n  if ( a2 && a3 && a3 < a2 )\n    return 31;\n  *(_QWORD *)(a1 + 24) = a2;\n  *(_QWORD *)(a1 + 32) = a3;\n  *(_BYTE *)(a1 + 49) = 0;\n  if ( a4 )\n    *(_BYTE *)(a1 + 48) = 1;\n  return 0;\n}", "assembly": "; \n; sub_18009B970 from 0x18009b970 to 0x18009b99d (45 bytes)\n; \n; 1 xrefs:\n; > sub_1800FC980 @ 0x1800fcd75\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:50 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x18009b970\njz      short loc_18009B985                                            ; +0x3, 0x18009b973\ntest    r8, r8                                                         ; +0x5, 0x18009b975\njz      short loc_18009B985                                            ; +0x8, 0x18009b978\ncmp     r8, rdx                                                        ; +0xa, 0x18009b97a\njnb     short loc_18009B985                                            ; +0xd, 0x18009b97d\nmov     eax, 1Fh                                                       ; +0xf, 0x18009b97f\nretn                                                                   ; +0x14, 0x18009b984\nmov     [rcx+18h], rdx                                                 ; +0x15, 0x18009b985\nmov     [rcx+20h], r8                                                  ; +0x19, 0x18009b989\nmov     byte ptr [rcx+31h], 0                                          ; +0x1d, 0x18009b98d\ntest    r9b, r9b                                                       ; +0x21, 0x18009b991\njz      short loc_18009B99A                                            ; +0x24, 0x18009b994\nmov     byte ptr [rcx+30h], 1                                          ; +0x26, 0x18009b996\nxor     eax, eax                                                       ; +0x2a, 0x18009b99a\nretn                                                                   ; +0x2c, 0x18009b99c", "xrefs": ["sub_1800FC980 @ 0x1800fcd75"], "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"}