{"type": "func", "start": 8235204, "end": 8235360, "name": "CONF_modules_finish", "pseudocode": "// \n// CONF_modules_finish from 0x7da8c4 to 0x7da960 (156 bytes)\n// \n// 3 xrefs:\n// > CONF_modules_unload @ 0x7da984\n// > conf_modules_free_int @ 0x7daba0\n// > <???> @ 0x6031c\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 CONF_modules_finish()\n{\n  int v0; // r0\n  int *v1; // r4\n  int v2; // r3\n  void (*v3)(void); // r2\n  int v4; // r0\n  int result; // r0\n\n  while ( OPENSSL_sk_num(dword_AD2E38) > 0 )\n  {\n    v0 = OPENSSL_sk_pop(dword_AD2E38);\n    v1 = (int *)v0;\n    if ( v0 )\n    {\n      v2 = *(_DWORD *)v0;\n      v3 = *(void (**)(void))(*(_DWORD *)v0 + 12);\n      if ( v3 )\n      {\n        v3();\n        v2 = *v1;\n      }\n      v4 = v1[1];\n      --*(_DWORD *)(v2 + 16);\n      CRYPTO_free(v4, \"crypto/conf/conf_mod.c\", 405);\n      CRYPTO_free(v1[2], \"crypto/conf/conf_mod.c\", 406);\n      CRYPTO_free(v1, \"crypto/conf/conf_mod.c\", 407);\n    }\n  }\n  result = OPENSSL_sk_free(dword_AD2E38);\n  dword_AD2E38 = 0;\n  return result;\n}", "assembly": "; \n; CONF_modules_finish from 0x7da8c4 to 0x7da960 (156 bytes)\n; \n; 3 xrefs:\n; > CONF_modules_unload @ 0x7da984\n; > conf_modules_free_int @ 0x7daba0\n; > <???> @ 0x6031c\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-R6,LR}                                             ; +0x0, 0x7da8c4\nLDR             R6, =(dword_AD2E34 - 0x7DA8D8)                         ; +0x4, 0x7da8c8\nLDR             R5, =(aCryptoConfConf_0 - 0x7DA8DC); \"crypto/conf/conf_mod.c\" ; +0x8, 0x7da8cc\nADD             R6, PC, R6; dword_AD2E34                               ; +0xc, 0x7da8d0\nADD             R5, PC, R5; \"crypto/conf/conf_mod.c\"                   ; +0x10, 0x7da8d4\nB               loc_7DA93C                                             ; +0x14, 0x7da8d8\nBL              OPENSSL_sk_pop                                         ; +0x18, 0x7da8dc\nSUBS            R4, R0, #0                                             ; +0x1c, 0x7da8e0\nBEQ             loc_7DA93C                                             ; +0x20, 0x7da8e4\nLDR             R3, [R4]                                               ; +0x24, 0x7da8e8\nLDR             R2, [R3,#0xC]                                          ; +0x28, 0x7da8ec\nCMP             R2, #0                                                 ; +0x2c, 0x7da8f0\nBEQ             loc_7DA900                                             ; +0x30, 0x7da8f4\nBLX             R2                                                     ; +0x34, 0x7da8f8\nLDR             R3, [R4]                                               ; +0x38, 0x7da8fc\nLDR             R2, [R3,#0x10]                                         ; +0x3c, 0x7da900\nLDR             R0, [R4,#4]                                            ; +0x40, 0x7da904\nSUB             R2, R2, #1                                             ; +0x44, 0x7da908\nSTR             R2, [R3,#0x10]                                         ; +0x48, 0x7da90c\nMOV             R1, R5                                                 ; +0x4c, 0x7da910\nLDR             R2, =0x195                                             ; +0x50, 0x7da914\nBL              CRYPTO_free                                            ; +0x54, 0x7da918\nLDR             R0, [R4,#8]                                            ; +0x58, 0x7da91c\nMOV             R1, R5                                                 ; +0x5c, 0x7da920\nLDR             R2, =0x196                                             ; +0x60, 0x7da924\nBL              CRYPTO_free                                            ; +0x64, 0x7da928\nMOV             R0, R4                                                 ; +0x68, 0x7da92c\nMOV             R1, R5                                                 ; +0x6c, 0x7da930\nLDR             R2, =0x197                                             ; +0x70, 0x7da934\nBL              CRYPTO_free                                            ; +0x74, 0x7da938\nLDR             R0, [R6,#(dword_AD2E38 - 0xAD2E34)]                    ; +0x78, 0x7da93c\nBL              OPENSSL_sk_num                                         ; +0x7c, 0x7da940\nCMP             R0, #0                                                 ; +0x80, 0x7da944\nLDR             R0, [R6,#(dword_AD2E38 - 0xAD2E34)]                    ; +0x84, 0x7da948\nBGT             loc_7DA8DC                                             ; +0x88, 0x7da94c\nBL              OPENSSL_sk_free                                        ; +0x8c, 0x7da950\nMOV             R3, #0                                                 ; +0x90, 0x7da954\nSTR             R3, [R6,#(dword_AD2E38 - 0xAD2E34)]                    ; +0x94, 0x7da958\nPOP             {R4-R6,PC}                                             ; +0x98, 0x7da95c", "xrefs": ["CONF_modules_unload @ 0x7da984", "conf_modules_free_int @ 0x7daba0", "<???> @ 0x6031c"], "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"}