//
// BIO_get_retry_BIO from 0xff527c to 0xff52dc (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x8d688
//
// 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:15:47 +0000
//
__int64 __fastcall BIO_get_retry_BIO(__int64 a1, _DWORD *a2)
{
__int64 v2; // x19
__int64 v4; // x20
v2 = a1;
v4 = a1;
do
{
if ( !(unsigned int)BIO_test_flags(v2, 8u) )
break;
v4 = v2;
v2 = *(_QWORD *)(v2 + 56);
}
while ( v2 );
if ( a2 )
*a2 = *(_DWORD *)(v4 + 36);
return v4;
}