{"type": "func", "start": 6443680912, "end": 6443681031, "name": "__crt_stdio_output::force_decimal_point", "pseudocode": "// \n// __crt_stdio_output::force_decimal_point from 0x18012c490 to 0x18012c507 (119 bytes)\n// \n// 3 xrefs:\n// > unknown_libname_44 @ 0x18012dec8\n// > unknown_libname_45 @ 0x18012e098\n// > unknown_libname_46 @ 0x18012e278\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\nvoid __fastcall __crt_stdio_output::force_decimal_point(\n        __crt_stdio_output *this,\n        char *a2,\n        struct __crt_locale_pointers *const a3)\n{\n  __int64 v3; // r9\n  __int64 v4; // r8\n  __int64 v5; // rdx\n  bool v6; // zf\n  __crt_stdio_output *v7; // rdx\n  char *v8; // rax\n  char v9; // cl\n  char v10; // dl\n\n  v3 = *(_QWORD *)a2;\n  v4 = *(unsigned __int8 *)this;\n  v5 = *(_QWORD *)(*(_QWORD *)a2 + 272LL);\n  if ( *(_BYTE *)(v4 + v5) != 101 )\n  {\n    do\n    {\n      v4 = *((unsigned __int8 *)this + 1);\n      this = (__crt_stdio_output *)((char *)this + 1);\n    }\n    while ( (*(_BYTE *)(*(_QWORD *)v3 + 2 * v4) & 4) != 0 );\n  }\n  v6 = *(_BYTE *)((unsigned __int8)v4 + v5) == 120;\n  if ( *(_BYTE *)((unsigned __int8)v4 + v5) == 120 )\n    LOBYTE(v4) = *((_BYTE *)this + 2);\n  v7 = (__crt_stdio_output *)((char *)this + 2);\n  if ( !v6 )\n    v7 = this;\n  *(_BYTE *)v7 = ***(_BYTE ***)(v3 + 248);\n  v8 = (char *)v7 + 1;\n  do\n  {\n    v9 = *v8;\n    v10 = v4;\n    *v8++ = v4;\n    LOBYTE(v4) = v9;\n  }\n  while ( v10 );\n}", "assembly": "; \n; __crt_stdio_output::force_decimal_point from 0x18012c490 to 0x18012c507 (119 bytes)\n; \n; 3 xrefs:\n; > unknown_libname_44 @ 0x18012dec8\n; > unknown_libname_45 @ 0x18012e098\n; > unknown_libname_46 @ 0x18012e278\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\nmov     r9, [rdx]                                                      ; +0x0, 0x18012c490\nmovzx   r8d, byte ptr [rcx]                                            ; +0x3, 0x18012c493\nmov     rdx, [r9+110h]                                                 ; +0x7, 0x18012c497\ncmp     byte ptr [r8+rdx], 65h ; 'e'                                   ; +0xe, 0x18012c49e\njz      short loc_18012C4BF                                            ; +0x13, 0x18012c4a3\nmov     rax, [r9]                                                      ; +0x15, 0x18012c4a5\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x18, 0x18012c4a8\nmovzx   r8d, byte ptr [rcx+1]                                          ; +0x20, 0x18012c4b0\ninc     rcx                                                            ; +0x25, 0x18012c4b5\ntest    byte ptr [rax+r8*2], 4                                         ; +0x28, 0x18012c4b8\njnz     short loc_18012C4B0                                            ; +0x2d, 0x18012c4bd\nmovzx   eax, r8b                                                       ; +0x2f, 0x18012c4bf\ncmp     byte ptr [rax+rdx], 78h ; 'x'                                  ; +0x33, 0x18012c4c3\njnz     short loc_18012C4CE                                            ; +0x37, 0x18012c4c7\nmovzx   r8d, byte ptr [rcx+2]                                          ; +0x39, 0x18012c4c9\nmov     rax, [r9+0F8h]                                                 ; +0x3e, 0x18012c4ce\nlea     rdx, [rcx+2]                                                   ; +0x45, 0x18012c4d5\ncmovnz  rdx, rcx                                                       ; +0x49, 0x18012c4d9\nmov     rcx, [rax]                                                     ; +0x4d, 0x18012c4dd\nmovzx   eax, byte ptr [rcx]                                            ; +0x50, 0x18012c4e0\nmov     [rdx], al                                                      ; +0x53, 0x18012c4e3\nlea     rax, [rdx+1]                                                   ; +0x55, 0x18012c4e5\nnop     dword ptr [rax+00000000h]                                      ; +0x59, 0x18012c4e9\nmovzx   ecx, byte ptr [rax]                                            ; +0x60, 0x18012c4f0\nmovzx   edx, r8b                                                       ; +0x63, 0x18012c4f3\nmov     [rax], r8b                                                     ; +0x67, 0x18012c4f7\nlea     rax, [rax+1]                                                   ; +0x6a, 0x18012c4fa\nmovzx   r8d, cl                                                        ; +0x6e, 0x18012c4fe\ntest    dl, dl                                                         ; +0x72, 0x18012c502\njnz     short loc_18012C4F0                                            ; +0x74, 0x18012c504\nretn                                                                   ; +0x76, 0x18012c506", "xrefs": ["unknown_libname_44 @ 0x18012dec8", "unknown_libname_45 @ 0x18012e098", "unknown_libname_46 @ 0x18012e278"], "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"}