; ; ASN1_TYPE_pack_sequence from 0x8647cc to 0x86484c (128 bytes) ; ; 6 xrefs: ; > ASN1_TYPE_set_int_octetstring @ 0x866a8c ; > PKCS5_pbkdf2_set @ 0x8c7124 ; > PKCS5_pbe2_set_iv @ 0x8c7310 ; > PKCS5_pbe2_set_scrypt @ 0x8c7660 ; > PKCS5_pbe2_set_scrypt @ 0x8c76a0 ; > @ 0x6998c ; ; 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 ; MOV R3, R0 ; +0x0, 0x8647cc PUSH {R4-R6,LR} ; +0x4, 0x8647d0 MOV R0, R1 ; +0x8, 0x8647d4 MOV R5, R2 ; +0xc, 0x8647d8 MOV R1, R3 ; +0x10, 0x8647dc MOV R2, #0 ; +0x14, 0x8647e0 BL ASN1_item_pack ; +0x18, 0x8647e4 SUBS R6, R0, #0 ; +0x1c, 0x8647e8 BEQ loc_864834 ; +0x20, 0x8647ec CMP R5, #0 ; +0x24, 0x8647f0 BEQ loc_86483C ; +0x28, 0x8647f4 LDR R4, [R5] ; +0x2c, 0x8647f8 CMP R4, #0 ; +0x30, 0x8647fc BEQ loc_86481C ; +0x34, 0x864800 MOV R0, R4 ; +0x38, 0x864804 MOV R2, R6 ; +0x3c, 0x864808 MOV R1, #0x10 ; +0x40, 0x86480c BL ASN1_TYPE_set ; +0x44, 0x864810 MOV R0, R4 ; +0x48, 0x864814 POP {R4-R6,PC} ; +0x4c, 0x864818 BL ASN1_TYPE_new ; +0x50, 0x86481c SUBS R4, R0, #0 ; +0x54, 0x864820 STRNE R4, [R5] ; +0x58, 0x864824 BNE loc_864804 ; +0x5c, 0x864828 MOV R0, R6 ; +0x60, 0x86482c BL ASN1_OCTET_STRING_free ; +0x64, 0x864830 MOV R0, #0 ; +0x68, 0x864834 POP {R4-R6,PC} ; +0x6c, 0x864838 BL ASN1_TYPE_new ; +0x70, 0x86483c SUBS R4, R0, #0 ; +0x74, 0x864840 BNE loc_864804 ; +0x78, 0x864844 B loc_86482C ; +0x7c, 0x864848