{"type": "func", "start": 6443380992, "end": 6443381044, "name": "sub_1800E3100", "pseudocode": "// \n// sub_1800E3100 from 0x1800e3100 to 0x1800e3134 (52 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18013f963\n// > <???> @ 0x1801bbb68\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_1800E3100(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n\n  result = *(_DWORD *)(a2 + 296) & 1;\n  if ( (_DWORD)result )\n  {\n    *(_DWORD *)(a2 + 296) &= ~1u;\n    return std::ios::~ios<char,std::char_traits<char>>(a2 + 176);\n  }\n  return result;\n}", "assembly": "; \n; sub_1800E3100 from 0x1800e3100 to 0x1800e3134 (52 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18013f963\n; > <???> @ 0x1801bbb68\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\npush    rbp                                                            ; +0x0, 0x1800e3100\nsub     rsp, 20h                                                       ; +0x2, 0x1800e3102\nmov     rbp, rdx                                                       ; +0x6, 0x1800e3106\nmov     eax, [rbp+128h]                                                ; +0x9, 0x1800e3109\nand     eax, 1                                                         ; +0xf, 0x1800e310f\ntest    eax, eax                                                       ; +0x12, 0x1800e3112\njz      short loc_1800E312E                                            ; +0x14, 0x1800e3114\nand     dword ptr [rbp+128h], 0FFFFFFFEh                               ; +0x16, 0x1800e3116\nlea     rcx, [rbp+20h]                                                 ; +0x1d, 0x1800e311d\nadd     rcx, 90h                                                       ; +0x21, 0x1800e3121\ncall    cs:??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::ios::~ios<char,std::char_traits<char>>(void) ; +0x28, 0x1800e3128\nadd     rsp, 20h                                                       ; +0x2e, 0x1800e312e\npop     rbp                                                            ; +0x32, 0x1800e3132\nretn                                                                   ; +0x33, 0x1800e3133", "xrefs": ["<???> @ 0x18013f963", "<???> @ 0x1801bbb68"], "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"}