//
// _lws_logv from 0xe31e48 to 0xe31ef0 (168 bytes)
//
// 2 xrefs:
// > _lws_log @ 0xe31f68
// > ??> @ 0xa9480
//
// This function is hookable on this platform (idp: arm, 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 13:09:56 +0000
//
__int64 __fastcall lws_logv(int a1, char *format, _QWORD *a3)
{
__int64 v5; // x9
__int64 v6; // x4
__int64 v7; // x5
_QWORD arg[5]; // [xsp+30h] [xbp+30h] BYREF
char s[256]; // [xsp+58h] [xbp+58h] BYREF
if ( (a1 & dword_154A3EC) != 0 )
{
v5 = a3[1];
v6 = a3[2];
v7 = a3[3];
arg[0] = *a3;
arg[1] = v5;
arg[2] = v6;
arg[3] = v7;
vsnprintf(s, 0x100u, format, arg);
s[255] = 0;
off_154A3F0(a1, s);
}
return _stack_chk_guard;
}