; ; CMS_set_detached from 0x87551c to 0x8755c4 (168 bytes) ; ; 2 xrefs: ; > cms_Data_create @ 0x8755ec ; > @ 0x6a46c ; ; 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 ; PUSH {R4,R5,LR} ; +0x0, 0x87551c SUB SP, SP, #0xC ; +0x4, 0x875520 MOV R5, R1 ; +0x8, 0x875524 BL CMS_get0_content ; +0xc, 0x875528 SUBS R4, R0, #0 ; +0x10, 0x87552c BEQ loc_87557C ; +0x14, 0x875530 CMP R5, #0 ; +0x18, 0x875534 BNE loc_875560 ; +0x1c, 0x875538 LDR R5, [R4] ; +0x20, 0x87553c CMP R5, #0 ; +0x24, 0x875540 BEQ loc_875588 ; +0x28, 0x875544 LDR R3, [R5,#0xC] ; +0x2c, 0x875548 MOV R0, #1 ; +0x30, 0x87554c ORR R3, R3, #0x20 ; ' ' ; +0x34, 0x875550 STR R3, [R5,#0xC] ; +0x38, 0x875554 ADD SP, SP, #0xC ; +0x3c, 0x875558 POP {R4,R5,PC} ; +0x40, 0x87555c LDR R0, [R4] ; +0x44, 0x875560 BL ASN1_OCTET_STRING_free ; +0x48, 0x875564 MOV R3, #0 ; +0x4c, 0x875568 MOV R0, #1 ; +0x50, 0x87556c STR R3, [R4] ; +0x54, 0x875570 ADD SP, SP, #0xC ; +0x58, 0x875574 POP {R4,R5,PC} ; +0x5c, 0x875578 MOV R0, R4 ; +0x60, 0x87557c ADD SP, SP, #0xC ; +0x64, 0x875580 POP {R4,R5,PC} ; +0x68, 0x875584 BL ASN1_OCTET_STRING_new ; +0x6c, 0x875588 CMP R0, #0 ; +0x70, 0x87558c MOV R5, R0 ; +0x74, 0x875590 STR R0, [R4] ; +0x78, 0x875594 BNE loc_875548 ; +0x7c, 0x875598 MOV R3, #0x118 ; +0x80, 0x87559c STR R3, [SP,#0xC+var_C] ; +0x84, 0x8755a0 LDR R3, =(aCryptoCmsCmsLi - 0x8755BC); "crypto/cms/cms_lib.c" ; +0x88, 0x8755a4 MOV R0, #0x2E ; '.' ; +0x8c, 0x8755a8 MOV R1, #0x93 ; +0x90, 0x8755ac MOV R2, #0x41 ; 'A' ; +0x94, 0x8755b0 ADD R3, PC, R3; "crypto/cms/cms_lib.c" ; +0x98, 0x8755b4 BL ERR_put_error ; +0x9c, 0x8755b8 MOV R0, R5 ; +0xa0, 0x8755bc B loc_875558 ; +0xa4, 0x8755c0