{"type": "func", "start": 8210724, "end": 8210808, "name": "BN_GENCB_new", "pseudocode": "// \n// BN_GENCB_new from 0x7d4924 to 0x7d4978 (84 bytes)\n// \n// 4 xrefs:\n// > sub_8303D4 @ 0x830408\n// > sub_87FC88 @ 0x87fcdc\n// > sub_881B14 @ 0x881b34\n// > <???> @ 0x5fbec\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\nint BN_GENCB_new()\n{\n  int v0; // r5\n\n  v0 = CRYPTO_malloc(12, \"crypto/bn/bn_lib.c\", 966);\n  if ( !v0 )\n    ERR_put_error(3, 143, 65, \"crypto/bn/bn_lib.c\", 967);\n  return v0;\n}", "assembly": "; \n; BN_GENCB_new from 0x7d4924 to 0x7d4978 (84 bytes)\n; \n; 4 xrefs:\n; > sub_8303D4 @ 0x830408\n; > sub_87FC88 @ 0x87fcdc\n; > sub_881B14 @ 0x881b34\n; > <???> @ 0x5fbec\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            {R4,R5,LR}                                             ; +0x0, 0x7d4924\nLDR             R4, =(aCryptoBnBnLibC - 0x7D4938); \"crypto/bn/bn_lib.c\" ; +0x4, 0x7d4928\nSUB             SP, SP, #0xC                                           ; +0x8, 0x7d492c\nADD             R4, PC, R4; \"crypto/bn/bn_lib.c\"                       ; +0xc, 0x7d4930\nMOV             R0, #0xC                                               ; +0x10, 0x7d4934\nMOV             R1, R4                                                 ; +0x14, 0x7d4938\nLDR             R2, =0x3C6                                             ; +0x18, 0x7d493c\nBL              CRYPTO_malloc                                          ; +0x1c, 0x7d4940\nSUBS            R5, R0, #0                                             ; +0x20, 0x7d4944\nBEQ             loc_7D4958                                             ; +0x24, 0x7d4948\nMOV             R0, R5                                                 ; +0x28, 0x7d494c\nADD             SP, SP, #0xC                                           ; +0x2c, 0x7d4950\nPOP             {R4,R5,PC}                                             ; +0x30, 0x7d4954\nLDR             R2, =0x3C7                                             ; +0x34, 0x7d4958\nSTR             R2, [SP,#0xC+var_C]                                    ; +0x38, 0x7d495c\nMOV             R3, R4                                                 ; +0x3c, 0x7d4960\nMOV             R0, #3                                                 ; +0x40, 0x7d4964\nMOV             R1, #0x8F                                              ; +0x44, 0x7d4968\nMOV             R2, #0x41 ; 'A'                                        ; +0x48, 0x7d496c\nBL              ERR_put_error                                          ; +0x4c, 0x7d4970\nB               loc_7D494C                                             ; +0x50, 0x7d4974", "xrefs": ["sub_8303D4 @ 0x830408", "sub_87FC88 @ 0x87fcdc", "sub_881B14 @ 0x881b34", "<???> @ 0x5fbec"], "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"}