{"type": "func", "start": 8231304, "end": 8231360, "name": "COMP_CTX_free", "pseudocode": "// \n// COMP_CTX_free from 0x7d9988 to 0x7d99c0 (56 bytes)\n// \n// 7 xrefs:\n// > ssl_clear_cipher_ctx @ 0x799628\n// > ssl_clear_cipher_ctx @ 0x799634\n// > ssl3_change_cipher_state @ 0x7b810c\n// > ssl3_change_cipher_state @ 0x7b8210\n// > tls1_change_cipher_state @ 0x7ba254\n// > tls1_change_cipher_state @ 0x7ba514\n// > <???> @ 0x5c0fc\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 COMP_CTX_free(int result)\n{\n  int v1; // r4\n  void (*v2)(void); // r3\n\n  v1 = result;\n  if ( result )\n  {\n    v2 = *(void (**)(void))(*(_DWORD *)result + 12);\n    if ( v2 )\n      v2();\n    return CRYPTO_free(v1, \"crypto/comp/comp_lib.c\", 54);\n  }\n  return result;\n}", "assembly": "; \n; COMP_CTX_free from 0x7d9988 to 0x7d99c0 (56 bytes)\n; \n; 7 xrefs:\n; > ssl_clear_cipher_ctx @ 0x799628\n; > ssl_clear_cipher_ctx @ 0x799634\n; > ssl3_change_cipher_state @ 0x7b810c\n; > ssl3_change_cipher_state @ 0x7b8210\n; > tls1_change_cipher_state @ 0x7ba254\n; > tls1_change_cipher_state @ 0x7ba514\n; > <???> @ 0x5c0fc\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, 0x7d9988\nSUBS            R4, R0, #0                                             ; +0x4, 0x7d998c\nPOPEQ           {R4,PC}                                                ; +0x8, 0x7d9990\nLDR             R3, [R4]                                               ; +0xc, 0x7d9994\nLDR             R3, [R3,#0xC]                                          ; +0x10, 0x7d9998\nCMP             R3, #0                                                 ; +0x14, 0x7d999c\nBEQ             loc_7D99A8                                             ; +0x18, 0x7d99a0\nBLX             R3                                                     ; +0x1c, 0x7d99a4\nLDR             R1, =(aCryptoCompComp - 0x7D99B8); \"crypto/comp/comp_lib.c\" ; +0x20, 0x7d99a8\nMOV             R0, R4                                                 ; +0x24, 0x7d99ac\nADD             R1, PC, R1; \"crypto/comp/comp_lib.c\"                   ; +0x28, 0x7d99b0\nMOV             R2, #0x36 ; '6'                                        ; +0x2c, 0x7d99b4\nPOP             {R4,LR}                                                ; +0x30, 0x7d99b8\nB               CRYPTO_free                                            ; +0x34, 0x7d99bc", "xrefs": ["ssl_clear_cipher_ctx @ 0x799628", "ssl_clear_cipher_ctx @ 0x799634", "ssl3_change_cipher_state @ 0x7b810c", "ssl3_change_cipher_state @ 0x7b8210", "tls1_change_cipher_state @ 0x7ba254", "tls1_change_cipher_state @ 0x7ba514", "<???> @ 0x5c0fc"], "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"}