//
// gzputs from 0x951664 to 0x951696 (50 bytes)
//
// 0 xrefs:
//
// 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:05:24 +0000
//
int __fastcall gzputs(int a1, char *a2)
{
size_t v4; // r4
int result; // r0
int v6; // r3
int v7; // r2
v4 = strlen(a2);
result = gzwrite(a1, a2, v4);
v6 = result;
if ( result )
v6 = 1;
if ( v4 )
v7 = v6;
else
v7 = v6 | 1;
if ( !v7 )
return -1;
return result;
}