; ; ASN1_INTEGER_to_BN from 0x8626f4 to 0x8627a8 (180 bytes) ; ; 12 xrefs: ; > sub_7DE1CC @ 0x7de2d4 ; > sub_7DE578 @ 0x7de66c ; > sub_7DF150 @ 0x7df828 ; > sub_7E11C4 @ 0x7e12d0 ; > sub_7E1588 @ 0x7e161c ; > EC_GROUP_new_from_ecparameters @ 0x7e68f4 ; > EC_GROUP_new_from_ecparameters @ 0x7e6f20 ; > EC_GROUP_new_from_ecparameters @ 0x7e7028 ; > sub_852030 @ 0x8520c8 ; > sub_8522B4 @ 0x8523d4 ; > i2s_ASN1_INTEGER @ 0x85cfbc ; > @ 0x608ec ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; LDR R3, [R0,#4] ; +0x0, 0x8626f4 PUSH {R4,R5,LR} ; +0x4, 0x8626f8 BIC R3, R3, #0x100 ; +0x8, 0x8626fc CMP R3, #2 ; +0xc, 0x862700 SUB SP, SP, #0xC ; +0x10, 0x862704 MOV R4, R0 ; +0x14, 0x862708 BNE loc_862754 ; +0x18, 0x86270c MOV R2, R1 ; +0x1c, 0x862710 LDR R0, [R0,#8] ; +0x20, 0x862714 LDR R1, [R4] ; +0x24, 0x862718 BL BN_bin2bn ; +0x28, 0x86271c SUBS R5, R0, #0 ; +0x2c, 0x862720 BEQ loc_862780 ; +0x30, 0x862724 LDR R3, [R4,#4] ; +0x34, 0x862728 TST R3, #0x100 ; +0x38, 0x86272c MOVEQ R0, R5 ; +0x3c, 0x862730 BNE loc_862740 ; +0x40, 0x862734 ADD SP, SP, #0xC ; +0x44, 0x862738 POP {R4,R5,PC} ; +0x48, 0x86273c MOV R1, #1 ; +0x4c, 0x862740 BL BN_set_negative ; +0x50, 0x862744 MOV R0, R5 ; +0x54, 0x862748 ADD SP, SP, #0xC ; +0x58, 0x86274c POP {R4,R5,PC} ; +0x5c, 0x862750 MOV R3, #0x208 ; +0x60, 0x862754 STR R3, [SP,#0xC+var_C] ; +0x64, 0x862758 LDR R3, =(aCryptoAsn1AInt - 0x862774); "crypto/asn1/a_int.c" ; +0x68, 0x86275c MOV R0, #0xD ; +0x6c, 0x862760 MOV R1, #0xE4 ; +0x70, 0x862764 MOV R2, #0xE1 ; +0x74, 0x862768 ADD R3, PC, R3; "crypto/asn1/a_int.c" ; +0x78, 0x86276c BL ERR_put_error ; +0x7c, 0x862770 MOV R0, #0 ; +0x80, 0x862774 ADD SP, SP, #0xC ; +0x84, 0x862778 POP {R4,R5,PC} ; +0x88, 0x86277c LDR R3, =0x20E ; +0x8c, 0x862780 STR R3, [SP,#0xC+var_C] ; +0x90, 0x862784 LDR R3, =(aCryptoAsn1AInt - 0x8627A0); "crypto/asn1/a_int.c" ; +0x94, 0x862788 MOV R0, #0xD ; +0x98, 0x86278c MOV R1, #0xE4 ; +0x9c, 0x862790 MOV R2, #0x69 ; 'i' ; +0xa0, 0x862794 ADD R3, PC, R3; "crypto/asn1/a_int.c" ; +0xa4, 0x862798 BL ERR_put_error ; +0xa8, 0x86279c MOV R0, R5 ; +0xac, 0x8627a0 B loc_862738 ; +0xb0, 0x8627a4