{"type": "func", "start": 7891800, "end": 7891880, "name": "DTLS_RECORD_LAYER_free", "pseudocode": "// \n// DTLS_RECORD_LAYER_free from 0x786b58 to 0x786ba8 (80 bytes)\n// \n// 2 xrefs:\n// > dtls1_free @ 0x7b60b4\n// > <???> @ 0x5a4ec\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall DTLS_RECORD_LAYER_free(int a1)\n{\n  int result; // r0\n\n  DTLS_RECORD_LAYER_clear(a1);\n  pqueue_free(*(_DWORD *)(*(_DWORD *)(a1 + 2288) + 32));\n  pqueue_free(*(_DWORD *)(*(_DWORD *)(a1 + 2288) + 40));\n  pqueue_free(*(_DWORD *)(*(_DWORD *)(a1 + 2288) + 48));\n  result = CRYPTO_free(*(_DWORD *)(a1 + 2288), \"ssl/record/rec_layer_d1.c\", 50);\n  *(_DWORD *)(a1 + 2288) = 0;\n  return result;\n}", "assembly": "; \n; DTLS_RECORD_LAYER_free from 0x786b58 to 0x786ba8 (80 bytes)\n; \n; 2 xrefs:\n; > dtls1_free @ 0x7b60b4\n; > <???> @ 0x5a4ec\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4,LR}                                                ; +0x0, 0x786b58\nMOV             R4, R0                                                 ; +0x4, 0x786b5c\nBL              DTLS_RECORD_LAYER_clear                                ; +0x8, 0x786b60\nLDR             R3, [R4,#0x8F0]                                        ; +0xc, 0x786b64\nLDR             R0, [R3,#0x20]                                         ; +0x10, 0x786b68\nBL              pqueue_free                                            ; +0x14, 0x786b6c\nLDR             R3, [R4,#0x8F0]                                        ; +0x18, 0x786b70\nLDR             R0, [R3,#0x28]                                         ; +0x1c, 0x786b74\nBL              pqueue_free                                            ; +0x20, 0x786b78\nLDR             R3, [R4,#0x8F0]                                        ; +0x24, 0x786b7c\nLDR             R0, [R3,#0x30]                                         ; +0x28, 0x786b80\nBL              pqueue_free                                            ; +0x2c, 0x786b84\nLDR             R1, =(aSslRecordRecLa - 0x786B98); \"ssl/record/rec_layer_d1.c\" ; +0x30, 0x786b88\nLDR             R0, [R4,#0x8F0]                                        ; +0x34, 0x786b8c\nADD             R1, PC, R1; \"ssl/record/rec_layer_d1.c\"                ; +0x38, 0x786b90\nMOV             R2, #0x32 ; '2'                                        ; +0x3c, 0x786b94\nBL              CRYPTO_free                                            ; +0x40, 0x786b98\nMOV             R3, #0                                                 ; +0x44, 0x786b9c\nSTR             R3, [R4,#0x8F0]                                        ; +0x48, 0x786ba0\nPOP             {R4,PC}                                                ; +0x4c, 0x786ba4", "xrefs": ["dtls1_free @ 0x7b60b4", "<???> @ 0x5a4ec"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}