//
// sub_856A70 from 0x856a70 to 0x856aaa (58 bytes)
//
// 1 xrefs:
// > sub_859ADC @ 0x85a01e
//
// 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:02:36 +0000
//
int __fastcall sub_856A70(int a1)
{
int v1; // r3
int v2; // r3
int v5; // r0
v1 = *(_DWORD *)(a1 + 188);
if ( !v1 )
return 1;
v2 = *(_DWORD *)(v1 + 8);
if ( !v2 || *(_DWORD *)(a1 + 192) )
return 0;
v5 = sub_8597D0(v2);
*(_DWORD *)(a1 + 192) = v5;
if ( v5 )
return 0;
lws_log(1, "Out of memory for conn user space\n");
return 1;
}