{"type": "func", "start": 10413448, "end": 10413504, "name": "COMP_CTX_free", "pseudocode": "// \n// COMP_CTX_free from 0x9ee588 to 0x9ee5c0 (56 bytes)\n// \n// 7 xrefs:\n// > ssl_clear_cipher_ctx @ 0x9ae22c\n// > ssl_clear_cipher_ctx @ 0x9ae238\n// > ssl3_change_cipher_state @ 0x9ccd10\n// > ssl3_change_cipher_state @ 0x9cce14\n// > tls1_change_cipher_state @ 0x9cee58\n// > tls1_change_cipher_state @ 0x9cf118\n// > <???> @ 0x75b7c\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:07:28 +0000\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 0x9ee588 to 0x9ee5c0 (56 bytes)\n; \n; 7 xrefs:\n; > ssl_clear_cipher_ctx @ 0x9ae22c\n; > ssl_clear_cipher_ctx @ 0x9ae238\n; > ssl3_change_cipher_state @ 0x9ccd10\n; > ssl3_change_cipher_state @ 0x9cce14\n; > tls1_change_cipher_state @ 0x9cee58\n; > tls1_change_cipher_state @ 0x9cf118\n; > <???> @ 0x75b7c\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:07:28 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x9ee588\nSUBS            R4, R0, #0                                             ; +0x4, 0x9ee58c\nPOPEQ           {R4,PC}                                                ; +0x8, 0x9ee590\nLDR             R3, [R4]                                               ; +0xc, 0x9ee594\nLDR             R3, [R3,#0xC]                                          ; +0x10, 0x9ee598\nCMP             R3, #0                                                 ; +0x14, 0x9ee59c\nBEQ             loc_9EE5A8                                             ; +0x18, 0x9ee5a0\nBLX             R3                                                     ; +0x1c, 0x9ee5a4\nLDR             R1, =(aCryptoCompComp - 0x9EE5B8); \"crypto/comp/comp_lib.c\" ; +0x20, 0x9ee5a8\nMOV             R0, R4                                                 ; +0x24, 0x9ee5ac\nADD             R1, PC, R1; \"crypto/comp/comp_lib.c\"                   ; +0x28, 0x9ee5b0\nMOV             R2, #0x36 ; '6'                                        ; +0x2c, 0x9ee5b4\nPOP             {R4,LR}                                                ; +0x30, 0x9ee5b8\nB               CRYPTO_free                                            ; +0x34, 0x9ee5bc", "xrefs": ["ssl_clear_cipher_ctx @ 0x9ae22c", "ssl_clear_cipher_ctx @ 0x9ae238", "ssl3_change_cipher_state @ 0x9ccd10", "ssl3_change_cipher_state @ 0x9cce14", "tls1_change_cipher_state @ 0x9cee58", "tls1_change_cipher_state @ 0x9cf118", "<???> @ 0x75b7c"], "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"}