//
// sub_85502C from 0x85502c to 0x855058 (44 bytes)
//
// 1 xrefs:
// > sub_855B7C @ 0x855b7c
//
// 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:35 +0000
//
int __fastcall sub_85502C(int a1, int a2)
{
int v2; // r4
int result; // r0
v2 = a1 + 24 * a2;
result = *(_DWORD *)(v2 + 468);
if ( result )
{
if ( SSL_pending() )
{
return 1;
}
else
{
result = *(_DWORD *)(v2 + 516);
if ( result )
return SSL_pending() != 0;
}
}
return result;
}