{"type": "func", "start": 10073948, "end": 10074028, "name": "DTLS_RECORD_LAYER_free", "pseudocode": "// \n// DTLS_RECORD_LAYER_free from 0x99b75c to 0x99b7ac (80 bytes)\n// \n// 2 xrefs:\n// > dtls1_free @ 0x9cacb8\n// > <???> @ 0x73f6c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:06:45 +0000\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 0x99b75c to 0x99b7ac (80 bytes)\n; \n; 2 xrefs:\n; > dtls1_free @ 0x9cacb8\n; > <???> @ 0x73f6c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:06:45 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x99b75c\nMOV             R4, R0                                                 ; +0x4, 0x99b760\nBL              DTLS_RECORD_LAYER_clear                                ; +0x8, 0x99b764\nLDR             R3, [R4,#0x8F0]                                        ; +0xc, 0x99b768\nLDR             R0, [R3,#0x20]                                         ; +0x10, 0x99b76c\nBL              pqueue_free                                            ; +0x14, 0x99b770\nLDR             R3, [R4,#0x8F0]                                        ; +0x18, 0x99b774\nLDR             R0, [R3,#0x28]                                         ; +0x1c, 0x99b778\nBL              pqueue_free                                            ; +0x20, 0x99b77c\nLDR             R3, [R4,#0x8F0]                                        ; +0x24, 0x99b780\nLDR             R0, [R3,#0x30]                                         ; +0x28, 0x99b784\nBL              pqueue_free                                            ; +0x2c, 0x99b788\nLDR             R1, =(aSslRecordRecLa - 0x99B79C); \"ssl/record/rec_layer_d1.c\" ; +0x30, 0x99b78c\nLDR             R0, [R4,#0x8F0]                                        ; +0x34, 0x99b790\nADD             R1, PC, R1; \"ssl/record/rec_layer_d1.c\"                ; +0x38, 0x99b794\nMOV             R2, #0x32 ; '2'                                        ; +0x3c, 0x99b798\nBL              CRYPTO_free                                            ; +0x40, 0x99b79c\nMOV             R3, #0                                                 ; +0x44, 0x99b7a0\nSTR             R3, [R4,#0x8F0]                                        ; +0x48, 0x99b7a4\nPOP             {R4,PC}                                                ; +0x4c, 0x99b7a8", "xrefs": ["dtls1_free @ 0x9cacb8", "<???> @ 0x73f6c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}