// // __acrt_stdio_free_buffer_nolock from 0x180138ac4 to 0x180138b04 (64 bytes) // // 4 xrefs: // > __acrt_uninitialize_stdio @ 0x18012f9a5 // > _fclose_nolock @ 0x18012fa3a // > _lambda_b4f66040be5f354a654fb75160c27bfc_::operator @ 0x18013944b // > @ 0x1802036ec // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall _acrt_stdio_free_buffer_nolock(__int64 a1) { __int64 result; // rax result = *(_DWORD *)(a1 + 20) >> 13; if ( (*(_DWORD *)(a1 + 20) & 0x2000) != 0 ) { result = *(_DWORD *)(a1 + 20) >> 6; if ( (*(_DWORD *)(a1 + 20) & 0x40) != 0 ) { free_base(*(void **)(a1 + 8)); _InterlockedAnd((volatile signed __int32 *)(a1 + 20), 0xFFFFFEBF); *(_QWORD *)(a1 + 8) = 0; *(_QWORD *)a1 = 0; *(_DWORD *)(a1 + 16) = 0; return 0; } } return result; }