//
// BIO_vsnprintf from 0x9e3848 to 0x9e38a4 (92 bytes)
//
// 2 xrefs:
// > BIO_snprintf @ 0x9e38c0
// > ??> @ 0x7904c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:22 +0000
//
int __fastcall BIO_vsnprintf(const void *a1, unsigned int a2, unsigned __int8 *a3, int *a4)
{
unsigned int v5; // [sp+10h] [bp-14h] BYREF
const void *v6; // [sp+14h] [bp-10h] BYREF
int v7; // [sp+18h] [bp-Ch] BYREF
_BOOL4 v8; // [sp+1Ch] [bp-8h] BYREF
v6 = a1;
v5 = a2;
if ( !sub_9E2C7C(&v6, nullptr, &v5, &v7, &v8, a3, a4) || v8 )
return -1;
else
return v7 | (v7 >> 31);
}