//
// SRP_VBASE_get_by_user from 0xa4ca4c to 0xa4cab8 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x8020c
//
// 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:08:20 +0000
//
const char **__fastcall SRP_VBASE_get_by_user(_DWORD *a1, const char *a2)
{
int v4; // r4
const char **v5; // r6
int v6; // r0
int v7; // r1
if ( !a1 )
return nullptr;
v4 = 0;
do
{
v6 = OPENSSL_sk_num(*a1);
v7 = v4;
if ( v4 >= v6 )
return nullptr;
++v4;
v5 = (const char **)OPENSSL_sk_value(*a1, v7);
}
while ( strcmp(*v5, a2) );
return v5;
}