; ; BN_GENCB_new from 0x9e9524 to 0x9e9578 (84 bytes) ; ; 4 xrefs: ; > sub_A44FD4 @ 0xa45008 ; > sub_A94888 @ 0xa948dc ; > sub_A96714 @ 0xa96734 ; > @ 0x7966c ; ; 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:25 +0000 ; PUSH {R4,R5,LR} ; +0x0, 0x9e9524 LDR R4, =(aCryptoBnBnLibC - 0x9E9538); "crypto/bn/bn_lib.c" ; +0x4, 0x9e9528 SUB SP, SP, #0xC ; +0x8, 0x9e952c ADD R4, PC, R4; "crypto/bn/bn_lib.c" ; +0xc, 0x9e9530 MOV R0, #0xC ; +0x10, 0x9e9534 MOV R1, R4 ; +0x14, 0x9e9538 LDR R2, =0x3C6 ; +0x18, 0x9e953c BL CRYPTO_malloc ; +0x1c, 0x9e9540 SUBS R5, R0, #0 ; +0x20, 0x9e9544 BEQ loc_9E9558 ; +0x24, 0x9e9548 MOV R0, R5 ; +0x28, 0x9e954c ADD SP, SP, #0xC ; +0x2c, 0x9e9550 POP {R4,R5,PC} ; +0x30, 0x9e9554 LDR R2, =0x3C7 ; +0x34, 0x9e9558 STR R2, [SP,#0xC+var_C] ; +0x38, 0x9e955c MOV R3, R4 ; +0x3c, 0x9e9560 MOV R0, #3 ; +0x40, 0x9e9564 MOV R1, #0x8F ; +0x44, 0x9e9568 MOV R2, #0x41 ; 'A' ; +0x48, 0x9e956c BL ERR_put_error ; +0x4c, 0x9e9570 B loc_9E954C ; +0x50, 0x9e9574