{"type": "func", "start": 8196248, "end": 8196344, "name": "BIO_find_type", "pseudocode": "// \n// BIO_find_type from 0x7d1098 to 0x7d10f8 (96 bytes)\n// \n// 12 xrefs:\n// > BIO_ssl_copy_session_id @ 0x7866e4\n// > BIO_ssl_copy_session_id @ 0x7866f4\n// > BIO_ssl_shutdown @ 0x78675c\n// > SSL_get_rfd @ 0x796878\n// > SSL_get_wfd @ 0x7968bc\n// > PKCS7_dataFinal @ 0x827fcc\n// > PKCS7_dataFinal @ 0x828148\n// > PKCS7_dataFinal @ 0x828440\n// > PKCS7_signatureVerify @ 0x8287cc\n// > CMS_dataFinal @ 0x875290\n// > cms_DigestAlgorithm_find_ctx @ 0x875740\n// > <???> @ 0x59f9c\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\n_DWORD *__fastcall BIO_find_type(_DWORD *result, int a2)\n{\n  if ( result )\n  {\n    if ( (_BYTE)a2 )\n    {\n      do\n      {\n        if ( *result && *(_DWORD *)*result == a2 )\n          break;\n        result = (_DWORD *)result[9];\n      }\n      while ( result );\n    }\n    else\n    {\n      do\n      {\n        if ( *result && (a2 & *(_DWORD *)*result) != 0 )\n          break;\n        result = (_DWORD *)result[9];\n      }\n      while ( result );\n    }\n  }\n  return result;\n}", "assembly": "; \n; BIO_find_type from 0x7d1098 to 0x7d10f8 (96 bytes)\n; \n; 12 xrefs:\n; > BIO_ssl_copy_session_id @ 0x7866e4\n; > BIO_ssl_copy_session_id @ 0x7866f4\n; > BIO_ssl_shutdown @ 0x78675c\n; > SSL_get_rfd @ 0x796878\n; > SSL_get_wfd @ 0x7968bc\n; > PKCS7_dataFinal @ 0x827fcc\n; > PKCS7_dataFinal @ 0x828148\n; > PKCS7_dataFinal @ 0x828440\n; > PKCS7_signatureVerify @ 0x8287cc\n; > CMS_dataFinal @ 0x875290\n; > cms_DigestAlgorithm_find_ctx @ 0x875740\n; > <???> @ 0x59f9c\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\nCMP             R0, #0                                                 ; +0x0, 0x7d1098\nBXEQ            LR                                                     ; +0x4, 0x7d109c\nTST             R1, #0xFF                                              ; +0x8, 0x7d10a0\nBEQ             loc_7D10D0                                             ; +0xc, 0x7d10a4\nLDR             R3, [R0]                                               ; +0x10, 0x7d10a8\nCMP             R3, #0                                                 ; +0x14, 0x7d10ac\nBEQ             loc_7D10C0                                             ; +0x18, 0x7d10b0\nLDR             R3, [R3]                                               ; +0x1c, 0x7d10b4\nCMP             R3, R1                                                 ; +0x20, 0x7d10b8\nBXEQ            LR                                                     ; +0x24, 0x7d10bc\nLDR             R0, [R0,#0x24]                                         ; +0x28, 0x7d10c0\nCMP             R0, #0                                                 ; +0x2c, 0x7d10c4\nBNE             loc_7D10A8                                             ; +0x30, 0x7d10c8\nBX              LR                                                     ; +0x34, 0x7d10cc\nLDR             R3, [R0]                                               ; +0x38, 0x7d10d0\nCMP             R3, #0                                                 ; +0x3c, 0x7d10d4\nBEQ             loc_7D10E8                                             ; +0x40, 0x7d10d8\nLDR             R3, [R3]                                               ; +0x44, 0x7d10dc\nTST             R1, R3                                                 ; +0x48, 0x7d10e0\nBXNE            LR                                                     ; +0x4c, 0x7d10e4\nLDR             R0, [R0,#0x24]                                         ; +0x50, 0x7d10e8\nCMP             R0, #0                                                 ; +0x54, 0x7d10ec\nBNE             loc_7D10D0                                             ; +0x58, 0x7d10f0\nBX              LR                                                     ; +0x5c, 0x7d10f4", "xrefs": ["BIO_ssl_copy_session_id @ 0x7866e4", "BIO_ssl_copy_session_id @ 0x7866f4", "BIO_ssl_shutdown @ 0x78675c", "SSL_get_rfd @ 0x796878", "SSL_get_wfd @ 0x7968bc", "PKCS7_dataFinal @ 0x827fcc", "PKCS7_dataFinal @ 0x828148", "PKCS7_dataFinal @ 0x828440", "PKCS7_signatureVerify @ 0x8287cc", "CMS_dataFinal @ 0x875290", "cms_DigestAlgorithm_find_ctx @ 0x875740", "<???> @ 0x59f9c"], "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"}