; ; CMS_stream from 0xa88ddc to 0xa88e70 (148 bytes) ; ; 2 xrefs: ; > sub_A876E8 @ 0xa87724 ; > @ 0x838fc ; ; 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:08:53 +0000 ; PUSH {R4-R6,LR} ; +0x0, 0xa88ddc MOV R6, R0 ; +0x4, 0xa88de0 SUB SP, SP, #8 ; +0x8, 0xa88de4 MOV R0, R1 ; +0xc, 0xa88de8 BL CMS_get0_content ; +0x10, 0xa88dec SUBS R5, R0, #0 ; +0x14, 0xa88df0 BEQ loc_A88E28 ; +0x18, 0xa88df4 LDR R4, [R5] ; +0x1c, 0xa88df8 CMP R4, #0 ; +0x20, 0xa88dfc BEQ loc_A88E34 ; +0x24, 0xa88e00 LDR R3, [R4,#0xC] ; +0x28, 0xa88e04 ADD R2, R4, #8 ; +0x2c, 0xa88e08 BIC R3, R3, #0x20 ; ' ' ; +0x30, 0xa88e0c ORR R3, R3, #0x10 ; +0x34, 0xa88e10 MOV R0, #1 ; +0x38, 0xa88e14 STR R3, [R4,#0xC] ; +0x3c, 0xa88e18 STR R2, [R6] ; +0x40, 0xa88e1c ADD SP, SP, #8 ; +0x44, 0xa88e20 POP {R4-R6,PC} ; +0x48, 0xa88e24 MOV R0, R5 ; +0x4c, 0xa88e28 ADD SP, SP, #8 ; +0x50, 0xa88e2c POP {R4-R6,PC} ; +0x54, 0xa88e30 BL ASN1_OCTET_STRING_new ; +0x58, 0xa88e34 CMP R0, #0 ; +0x5c, 0xa88e38 MOV R4, R0 ; +0x60, 0xa88e3c STR R0, [R5] ; +0x64, 0xa88e40 BNE loc_A88E04 ; +0x68, 0xa88e44 MOV R3, #0x1F ; +0x6c, 0xa88e48 STR R3, [SP,#8+var_8] ; +0x70, 0xa88e4c LDR R3, =(aCryptoCmsCmsIo - 0xA88E68); "crypto/cms/cms_io.c" ; +0x74, 0xa88e50 MOV R0, #0x2E ; '.' ; +0x78, 0xa88e54 MOV R1, #0x9B ; +0x7c, 0xa88e58 MOV R2, #0x41 ; 'A' ; +0x80, 0xa88e5c ADD R3, PC, R3; "crypto/cms/cms_io.c" ; +0x84, 0xa88e60 BL ERR_put_error ; +0x88, 0xa88e64 MOV R0, R4 ; +0x8c, 0xa88e68 B loc_A88E20 ; +0x90, 0xa88e6c