{"type": "func", "start": 8452168, "end": 8452208, "name": "CRYPTO_secure_zalloc", "pseudocode": "// \n// CRYPTO_secure_zalloc from 0x80f848 to 0x80f870 (40 bytes)\n// \n// 2 xrefs:\n// > bn_expand2 @ 0x7d4c5c\n// > <???> @ 0x5fc4c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nunsigned int *__fastcall CRYPTO_secure_zalloc(void *a1, int a2, int a3)\n{\n  unsigned int *v4; // r0\n  unsigned int *v5; // r4\n\n  v4 = CRYPTO_secure_malloc(a1, a2, a3);\n  v5 = v4;\n  if ( v4 )\n    memset(v4, 0, (size_t)a1);\n  return v5;\n}", "assembly": "; \n; CRYPTO_secure_zalloc from 0x80f848 to 0x80f870 (40 bytes)\n; \n; 2 xrefs:\n; > bn_expand2 @ 0x7d4c5c\n; > <???> @ 0x5fc4c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x80f848\nMOV             R5, R0                                                 ; +0x4, 0x80f84c\nBL              CRYPTO_secure_malloc                                   ; +0x8, 0x80f850\nSUBS            R4, R0, #0                                             ; +0xc, 0x80f854\nBEQ             loc_80F868                                             ; +0x10, 0x80f858\nMOV             R2, R5; size_t                                         ; +0x14, 0x80f85c\nMOV             R1, #0; int                                            ; +0x18, 0x80f860\nBL              memset                                                 ; +0x1c, 0x80f864\nMOV             R0, R4                                                 ; +0x20, 0x80f868\nPOP             {R3-R5,PC}                                             ; +0x24, 0x80f86c", "xrefs": ["bn_expand2 @ 0x7d4c5c", "<???> @ 0x5fc4c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}