// // sub_A234BC from 0xa234bc to 0xa235b4 (248 bytes) // // 5 xrefs: // > CRYPTO_secure_malloc_init @ 0xa23a70 // > CRYPTO_secure_malloc @ 0xa23f24 // > CRYPTO_secure_malloc @ 0xa23fb4 // > CRYPTO_secure_free @ 0xa24618 // > CRYPTO_secure_free @ 0xa24934 // // 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:07:57 +0000 // unsigned int *__fastcall sub_A234BC(unsigned int *result, unsigned int *a2) { unsigned int v2; // r12 unsigned int v3; // r3 unsigned int v4; // r2 int v5; // r3 if ( dword_D35764 > (unsigned int)result || (unsigned int)result >= dword_D35764 + 4 * dword_D35768 ) OPENSSL_die("assertion failed: WITHIN_FREELIST(list)", "crypto/mem_sec.c", 305); v2 = dword_D3575C; if ( dword_D3575C > (unsigned int)a2 || (v3 = dword_D3575C + dword_D35760, (unsigned int)a2 >= dword_D3575C + dword_D35760) ) { OPENSSL_die("assertion failed: WITHIN_ARENA(ptr)", "crypto/mem_sec.c", 306); } v4 = *result; *a2 = *result; if ( v4 ) { v5 = v3 <= v4; if ( v2 > v4 ) v5 |= 1u; if ( v5 ) OPENSSL_die("assertion failed: temp->next == NULL || WITHIN_ARENA(temp->next)", "crypto/mem_sec.c", 310); a2[1] = (unsigned int)result; if ( *(unsigned int **)(v4 + 4) != result ) OPENSSL_die("assertion failed: (char **)temp->next->p_next == list", "crypto/mem_sec.c", 314); *(_DWORD *)(v4 + 4) = a2; *result = (unsigned int)a2; } else { a2[1] = (unsigned int)result; *result = (unsigned int)a2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source