//
// _lws_logv from 0x646708 to 0x646740 (56 bytes)
//
// 1 xrefs:
// > _lws_log @ 0x646758
//
// 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
//
int __fastcall lws_logv(int result, char *format, __gnuc_va_list arg)
{
int v3; // r4
char v4[260]; // [sp+0h] [bp-104h] BYREF
if ( (result & dword_ABAEC4) != 0 )
{
v3 = result;
vsnprintf(v4, 0x100u, format, arg);
v4[255] = 0;
return off_ABAEC8(v3, v4);
}
return result;
}