// // unknown_libname_51 from 0x18012ea30 to 0x18012eab6 (134 bytes) // // 2 xrefs: // > sub_18012D5FC @ 0x18012d716 // > @ 0x180202d14 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 10:54:58 +0000 // // Microsoft VisualC 64bit universal runtime char __fastcall unknown_libname_51(__int64 a1) { _QWORD *v2; // rdi __int64 v4; // rax __int64 v5; // rax __int64 v6; // rax *(_QWORD *)(a1 + 32) += 8LL; v2 = *(_QWORD **)(*(_QWORD *)(a1 + 32) - 8LL); if ( !get_printf_count_output() ) goto LABEL_2; v4 = __crt_stdio_output::to_integer_size(*(_DWORD *)(a1 + 60)) - 1; if ( v4 ) { v5 = v4 - 1; if ( v5 ) { v6 = v5 - 2; if ( v6 ) { if ( v6 != 4 ) { LABEL_2: *errno() = 22; invalid_parameter_noinfo(); return 0; } *v2 = *(int *)(a1 + 40); } else { *(_DWORD *)v2 = *(_DWORD *)(a1 + 40); } } else { *(_WORD *)v2 = *(_WORD *)(a1 + 40); } } else { *(_BYTE *)v2 = *(_BYTE *)(a1 + 40); } *(_BYTE *)(a1 + 64) = 1; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source