{"type": "func", "start": 10392868, "end": 10392952, "name": "BN_GENCB_new", "pseudocode": "// \n// BN_GENCB_new from 0x9e9524 to 0x9e9578 (84 bytes)\n// \n// 4 xrefs:\n// > sub_A44FD4 @ 0xa45008\n// > sub_A94888 @ 0xa948dc\n// > sub_A96714 @ 0xa96734\n// > <???> @ 0x7966c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:07:25 +0000\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 0x9e9524 to 0x9e9578 (84 bytes)\n; \n; 4 xrefs:\n; > sub_A44FD4 @ 0xa45008\n; > sub_A94888 @ 0xa948dc\n; > sub_A96714 @ 0xa96734\n; > <???> @ 0x7966c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:07:25 +0000\n; \nPUSH            {R4,R5,LR}                                             ; +0x0, 0x9e9524\nLDR             R4, =(aCryptoBnBnLibC - 0x9E9538); \"crypto/bn/bn_lib.c\" ; +0x4, 0x9e9528\nSUB             SP, SP, #0xC                                           ; +0x8, 0x9e952c\nADD             R4, PC, R4; \"crypto/bn/bn_lib.c\"                       ; +0xc, 0x9e9530\nMOV             R0, #0xC                                               ; +0x10, 0x9e9534\nMOV             R1, R4                                                 ; +0x14, 0x9e9538\nLDR             R2, =0x3C6                                             ; +0x18, 0x9e953c\nBL              CRYPTO_malloc                                          ; +0x1c, 0x9e9540\nSUBS            R5, R0, #0                                             ; +0x20, 0x9e9544\nBEQ             loc_9E9558                                             ; +0x24, 0x9e9548\nMOV             R0, R5                                                 ; +0x28, 0x9e954c\nADD             SP, SP, #0xC                                           ; +0x2c, 0x9e9550\nPOP             {R4,R5,PC}                                             ; +0x30, 0x9e9554\nLDR             R2, =0x3C7                                             ; +0x34, 0x9e9558\nSTR             R2, [SP,#0xC+var_C]                                    ; +0x38, 0x9e955c\nMOV             R3, R4                                                 ; +0x3c, 0x9e9560\nMOV             R0, #3                                                 ; +0x40, 0x9e9564\nMOV             R1, #0x8F                                              ; +0x44, 0x9e9568\nMOV             R2, #0x41 ; 'A'                                        ; +0x48, 0x9e956c\nBL              ERR_put_error                                          ; +0x4c, 0x9e9570\nB               loc_9E954C                                             ; +0x50, 0x9e9574", "xrefs": ["sub_A44FD4 @ 0xa45008", "sub_A94888 @ 0xa948dc", "sub_A96714 @ 0xa96734", "<???> @ 0x7966c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}