{"type": "func", "start": 8300348, "end": 8300424, "name": "EC_POINT_clear_free", "pseudocode": "// \n// EC_POINT_clear_free from 0x7ea73c to 0x7ea788 (76 bytes)\n// \n// 6 xrefs:\n// > d2i_ECPrivateKey @ 0x7e74f0\n// > EC_GROUP_clear_free @ 0x7ea7c8\n// > EC_GROUP_copy @ 0x7eab04\n// > ec_wNAF_mul @ 0x7ebf40\n// > EC_POINT_bn2point @ 0x88b570\n// > <???> @ 0x6152c\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 EC_POINT_clear_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 + 52);\n    if ( v2 || (v2 = *(void (**)(void))(*(_DWORD *)result + 48)) != nullptr )\n      v2();\n    return CRYPTO_clear_free(v1, 20, \"crypto/ec/ec_lib.c\", 594);\n  }\n  return result;\n}", "assembly": "; \n; EC_POINT_clear_free from 0x7ea73c to 0x7ea788 (76 bytes)\n; \n; 6 xrefs:\n; > d2i_ECPrivateKey @ 0x7e74f0\n; > EC_GROUP_clear_free @ 0x7ea7c8\n; > EC_GROUP_copy @ 0x7eab04\n; > ec_wNAF_mul @ 0x7ebf40\n; > EC_POINT_bn2point @ 0x88b570\n; > <???> @ 0x6152c\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, 0x7ea73c\nSUBS            R4, R0, #0                                             ; +0x4, 0x7ea740\nPOPEQ           {R4,PC}                                                ; +0x8, 0x7ea744\nLDR             R2, [R4]                                               ; +0xc, 0x7ea748\nLDR             R3, [R2,#0x34]                                         ; +0x10, 0x7ea74c\nCMP             R3, #0                                                 ; +0x14, 0x7ea750\nBEQ             loc_7EA778                                             ; +0x18, 0x7ea754\nBLX             R3                                                     ; +0x1c, 0x7ea758\nLDR             R2, =(aCryptoEcEcLibC - 0x7EA770); \"crypto/ec/ec_lib.c\" ; +0x20, 0x7ea75c\nMOV             R0, R4                                                 ; +0x24, 0x7ea760\nMOV             R1, #0x14                                              ; +0x28, 0x7ea764\nADD             R2, PC, R2; \"crypto/ec/ec_lib.c\"                       ; +0x2c, 0x7ea768\nLDR             R3, =0x252                                             ; +0x30, 0x7ea76c\nPOP             {R4,LR}                                                ; +0x34, 0x7ea770\nB               CRYPTO_clear_free                                      ; +0x38, 0x7ea774\nLDR             R3, [R2,#0x30]                                         ; +0x3c, 0x7ea778\nCMP             R3, #0                                                 ; +0x40, 0x7ea77c\nBNE             loc_7EA758                                             ; +0x44, 0x7ea780\nB               loc_7EA75C                                             ; +0x48, 0x7ea784", "xrefs": ["d2i_ECPrivateKey @ 0x7e74f0", "EC_GROUP_clear_free @ 0x7ea7c8", "EC_GROUP_copy @ 0x7eab04", "ec_wNAF_mul @ 0x7ebf40", "EC_POINT_bn2point @ 0x88b570", "<???> @ 0x6152c"], "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"}