// // sub_837808 from 0x837808 to 0x8378d4 (204 bytes) // // 2 xrefs: // > SRP_VBASE_init @ 0x837b7c // > SRP_VBASE_init @ 0x837b94 // // 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 // void *__fastcall sub_837808(int a1, char *a2) { int i; // r4 int v5; // r6 int v6; // r0 int v7; // r1 void **v8; // r4 if ( !a1 ) return nullptr; for ( i = 0; ; ++i ) { v6 = OPENSSL_sk_num(a1); v7 = i; if ( i >= v6 ) break; v5 = OPENSSL_sk_value(a1, v7); if ( !strcmp(*(const char **)v5, a2) ) return *(void **)(v5 + 4); } v8 = sub_83772C(a2); if ( v8 ) { if ( OPENSSL_sk_insert(a1, v8, 0) > 0 ) return v8[1]; CRYPTO_free(*v8, (int)"crypto/srp/srp_vfy.c", 295); BN_free((int)v8[1]); CRYPTO_free(v8, (int)"crypto/srp/srp_vfy.c", 297); } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source