// // sub_A512C4 from 0xa512c4 to 0xa51368 (164 bytes) // // 1 xrefs: // > @ 0xd260ec // // 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:23 +0000 // int __fastcall sub_A512C4(int a1) { int *v2; // r4 int v3; // r5 pthread_rwlock_t *v4; // r5 v2 = (int *)CRYPTO_malloc(&byte_9[3], (int)"crypto/x509/by_dir.c", 103); if ( !v2 ) return 0; v3 = BUF_MEM_new(); *v2 = v3; if ( v3 ) { v2[1] = 0; v4 = CRYPTO_THREAD_lock_new(); v2[2] = (int)v4; if ( v4 ) { *(_DWORD *)(a1 + 12) = v2; return 1; } else { BUF_MEM_free(*v2); CRYPTO_free(v2, (int)"crypto/x509/by_dir.c", 113); return 0; } } else { CRYPTO_free(v2, (int)"crypto/x509/by_dir.c", 106); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source