; ; DTLS_RECORD_LAYER_new from 0x786990 to 0x786a38 (168 bytes) ; ; 2 xrefs: ; > dtls1_new @ 0x7b5f5c ; > @ 0x5a48c ; ; 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 R1, =(aSslRecordRecLa - 0x7869A0); "ssl/record/rec_layer_d1.c" ; +0x0, 0x786990 PUSH {R3-R5,LR} ; +0x4, 0x786994 ADD R1, PC, R1; "ssl/record/rec_layer_d1.c" ; +0x8, 0x786998 MOV R5, R0 ; +0xc, 0x78699c MOV R2, #0x16 ; +0x10, 0x7869a0 MOV R0, #0x5C ; '\' ; +0x14, 0x7869a4 BL CRYPTO_malloc ; +0x18, 0x7869a8 SUBS R4, R0, #0 ; +0x1c, 0x7869ac BEQ loc_786A30 ; +0x20, 0x7869b0 STR R4, [R5,#0x8F0] ; +0x24, 0x7869b4 BL pqueue_new ; +0x28, 0x7869b8 STR R0, [R4,#0x20] ; +0x2c, 0x7869bc BL pqueue_new ; +0x30, 0x7869c0 STR R0, [R4,#0x28] ; +0x34, 0x7869c4 BL pqueue_new ; +0x38, 0x7869c8 MOV R3, R0 ; +0x3c, 0x7869cc LDR R0, [R4,#0x20] ; +0x40, 0x7869d0 STR R3, [R4,#0x30] ; +0x44, 0x7869d4 CMP R0, #0 ; +0x48, 0x7869d8 BEQ loc_7869F8 ; +0x4c, 0x7869dc LDR R2, [R4,#0x28] ; +0x50, 0x7869e0 CMP R2, #0 ; +0x54, 0x7869e4 CMPNE R3, #0 ; +0x58, 0x7869e8 BEQ loc_7869F8 ; +0x5c, 0x7869ec MOV R0, #1 ; +0x60, 0x7869f0 POP {R3-R5,PC} ; +0x64, 0x7869f4 BL pqueue_free ; +0x68, 0x7869f8 LDR R0, [R4,#0x28] ; +0x6c, 0x7869fc BL pqueue_free ; +0x70, 0x786a00 LDR R0, [R4,#0x30] ; +0x74, 0x786a04 BL pqueue_free ; +0x78, 0x786a08 LDR R1, =(aSslRecordRecLa - 0x786A1C); "ssl/record/rec_layer_d1.c" ; +0x7c, 0x786a0c MOV R0, R4 ; +0x80, 0x786a10 ADD R1, PC, R1; "ssl/record/rec_layer_d1.c" ; +0x84, 0x786a14 MOV R4, #0 ; +0x88, 0x786a18 MOV R2, #0x24 ; '$' ; +0x8c, 0x786a1c BL CRYPTO_free ; +0x90, 0x786a20 STR R4, [R5,#0x8F0] ; +0x94, 0x786a24 MOV R0, R4 ; +0x98, 0x786a28 POP {R3-R5,PC} ; +0x9c, 0x786a2c MOV R0, R4 ; +0xa0, 0x786a30 POP {R3-R5,PC} ; +0xa4, 0x786a34