; ; CTLOG_new_from_base64 from 0xa8eda0 to 0xa8ef3c (412 bytes) ; ; 2 xrefs: ; > sub_9EFBE0 @ 0x9efc5c ; > @ 0x79ebc ; ; 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:56 +0000 ; PUSH {R4-R9,LR} ; +0x0, 0xa8eda0 MOV R5, R0 ; +0x4, 0xa8eda4 SUB SP, SP, #0x14 ; +0x8, 0xa8eda8 MOV R0, R1; char * ; +0xc, 0xa8edac MOV R4, R1 ; +0x10, 0xa8edb0 MOV R6, R2 ; +0x14, 0xa8edb4 BL strlen ; +0x18, 0xa8edb8 SUBS R9, R0, #0 ; +0x1c, 0xa8edbc BNE loc_A8EDF8 ; +0x20, 0xa8edc0 CMP R5, #0 ; +0x24, 0xa8edc4 BEQ loc_A8EEC0 ; +0x28, 0xa8edc8 MOV R3, #0x89 ; +0x2c, 0xa8edcc STR R3, [SP,#0x14+var_14] ; +0x30, 0xa8edd0 LDR R3, =(aCryptoCtCtB64C - 0xA8EDEC); "crypto/ct/ct_b64.c" ; +0x34, 0xa8edd4 MOV R0, #0x32 ; '2' ; +0x38, 0xa8edd8 MOV R1, #0x76 ; 'v' ; +0x3c, 0xa8eddc MOV R2, #0x6E ; 'n' ; +0x40, 0xa8ede0 ADD R3, PC, R3; "crypto/ct/ct_b64.c" ; +0x44, 0xa8ede4 BL ERR_put_error ; +0x48, 0xa8ede8 MOV R0, #0 ; +0x4c, 0xa8edec ADD SP, SP, #0x14 ; +0x50, 0xa8edf0 POP {R4-R9,PC} ; +0x54, 0xa8edf4 LDR R7, =(aCryptoCtCtB64C - 0xA8EE08); "crypto/ct/ct_b64.c" ; +0x58, 0xa8edf8 MOV R12, R9,LSR#2 ; +0x5c, 0xa8edfc ADD R7, PC, R7; "crypto/ct/ct_b64.c" ; +0x60, 0xa8ee00 MOV R1, R7 ; +0x64, 0xa8ee04 ADD R0, R12, R12,LSL#1 ; +0x68, 0xa8ee08 MOV R2, #0x24 ; '$' ; +0x6c, 0xa8ee0c BL CRYPTO_malloc ; +0x70, 0xa8ee10 SUBS R8, R0, #0 ; +0x74, 0xa8ee14 BEQ loc_A8EEE8 ; +0x78, 0xa8ee18 MOV R2, R9 ; +0x7c, 0xa8ee1c MOV R1, R4 ; +0x80, 0xa8ee20 BL EVP_DecodeBlock ; +0x84, 0xa8ee24 SUBS R2, R0, #0 ; +0x88, 0xa8ee28 BLT loc_A8EF1C ; +0x8c, 0xa8ee2c CMP R5, #0 ; +0x90, 0xa8ee30 BEQ loc_A8EEC0 ; +0x94, 0xa8ee34 CMP R2, #0 ; +0x98, 0xa8ee38 BEQ loc_A8EDCC ; +0x9c, 0xa8ee3c ADD R1, SP, #0x14+var_4 ; +0xa0, 0xa8ee40 STR R8, [R1,#-4]! ; +0xa4, 0xa8ee44 MOV R0, #0 ; +0xa8, 0xa8ee48 BL d2i_PUBKEY ; +0xac, 0xa8ee4c MOV R1, R7 ; +0xb0, 0xa8ee50 MOV R2, #0x8F ; +0xb4, 0xa8ee54 MOV R4, R0 ; +0xb8, 0xa8ee58 MOV R0, R8 ; +0xbc, 0xa8ee5c BL CRYPTO_free ; +0xc0, 0xa8ee60 CMP R4, #0 ; +0xc4, 0xa8ee64 BEQ loc_A8EE9C ; +0xc8, 0xa8ee68 MOV R1, R6 ; +0xcc, 0xa8ee6c MOV R0, R4 ; +0xd0, 0xa8ee70 BL CTLOG_new ; +0xd4, 0xa8ee74 CMP R0, #0 ; +0xd8, 0xa8ee78 MOV R6, R0 ; +0xdc, 0xa8ee7c STR R0, [R5] ; +0xe0, 0xa8ee80 MOVNE R0, #1 ; +0xe4, 0xa8ee84 BNE loc_A8EDF0 ; +0xe8, 0xa8ee88 MOV R0, R4 ; +0xec, 0xa8ee8c BL EVP_PKEY_free ; +0xf0, 0xa8ee90 MOV R0, R6 ; +0xf4, 0xa8ee94 B loc_A8EDF0 ; +0xf8, 0xa8ee98 MOV R2, #0x91 ; +0xfc, 0xa8ee9c STR R2, [SP,#0x14+var_14] ; +0x100, 0xa8eea0 MOV R0, #0x32 ; '2' ; +0x104, 0xa8eea4 MOV R3, R7 ; +0x108, 0xa8eea8 MOV R1, #0x76 ; 'v' ; +0x10c, 0xa8eeac MOV R2, #0x6E ; 'n' ; +0x110, 0xa8eeb0 BL ERR_put_error ; +0x114, 0xa8eeb4 MOV R0, R4 ; +0x118, 0xa8eeb8 B loc_A8EDF0 ; +0x11c, 0xa8eebc MOV R3, #0x84 ; +0x120, 0xa8eec0 STR R3, [SP,#0x14+var_14] ; +0x124, 0xa8eec4 LDR R3, =(aCryptoCtCtB64C - 0xA8EEE0); "crypto/ct/ct_b64.c" ; +0x128, 0xa8eec8 MOV R0, #0x32 ; '2' ; +0x12c, 0xa8eecc MOV R1, #0x76 ; 'v' ; +0x130, 0xa8eed0 MOV R2, #7 ; +0x134, 0xa8eed4 ADD R3, PC, R3; "crypto/ct/ct_b64.c" ; +0x138, 0xa8eed8 BL ERR_put_error ; +0x13c, 0xa8eedc MOV R0, #0 ; +0x140, 0xa8eee0 B loc_A8EDF0 ; +0x144, 0xa8eee4 MOV R2, #0x26 ; '&' ; +0x148, 0xa8eee8 STR R2, [SP,#0x14+var_14] ; +0x14c, 0xa8eeec MOV R3, R7 ; +0x150, 0xa8eef0 MOV R0, #0x32 ; '2' ; +0x154, 0xa8eef4 MOV R1, #0x7C ; '|' ; +0x158, 0xa8eef8 MOV R2, #0x41 ; 'A' ; +0x15c, 0xa8eefc BL ERR_put_error ; +0x160, 0xa8ef00 LDR R1, =(aCryptoCtCtB64C - 0xA8EF14); "crypto/ct/ct_b64.c" ; +0x164, 0xa8ef04 MOV R0, R8 ; +0x168, 0xa8ef08 ADD R1, PC, R1; "crypto/ct/ct_b64.c" ; +0x16c, 0xa8ef0c MOV R2, #0x33 ; '3' ; +0x170, 0xa8ef10 BL CRYPTO_free ; +0x174, 0xa8ef14 B loc_A8EDC4 ; +0x178, 0xa8ef18 MOV R2, #0x2C ; ',' ; +0x17c, 0xa8ef1c STR R2, [SP,#0x14+var_14] ; +0x180, 0xa8ef20 MOV R3, R7 ; +0x184, 0xa8ef24 MOV R0, #0x32 ; '2' ; +0x188, 0xa8ef28 MOV R1, #0x7C ; '|' ; +0x18c, 0xa8ef2c MOV R2, #0x6C ; 'l' ; +0x190, 0xa8ef30 BL ERR_put_error ; +0x194, 0xa8ef34 B loc_A8EF04 ; +0x198, 0xa8ef38