//
// sub_10053F7B8 from 0x10053f7b8 to 0x10053f828 (112 bytes)
//
// 1 xrefs:
// > sub_1005834D0 @ 0x1005837bc
//
// 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
//
__int64 __fastcall sub_10053F7B8(__int64 a1, const void *a2, __int64 a3)
{
void *v6; // x0
void *v7; // x0
v6 = *(void **)(a1 + 752);
if ( v6 )
sub_100588C44(v6);
v7 = (void *)sub_100588710(a3, "ssl_lib.c", 1751);
*(_QWORD *)(a1 + 752) = v7;
if ( !v7 )
return 1;
memcpy(v7, a2, (unsigned int)a3);
*(_DWORD *)(a1 + 760) = a3;
return 0;
}