{"type": "func", "start": 10378392, "end": 10378488, "name": "BIO_find_type", "pseudocode": "// \n// BIO_find_type from 0x9e5c98 to 0x9e5cf8 (96 bytes)\n// \n// 12 xrefs:\n// > BIO_ssl_copy_session_id @ 0x99b2e8\n// > BIO_ssl_copy_session_id @ 0x99b2f8\n// > BIO_ssl_shutdown @ 0x99b360\n// > SSL_get_rfd @ 0x9ab47c\n// > SSL_get_wfd @ 0x9ab4c0\n// > PKCS7_dataFinal @ 0xa3cbcc\n// > PKCS7_dataFinal @ 0xa3cd48\n// > PKCS7_dataFinal @ 0xa3d040\n// > PKCS7_signatureVerify @ 0xa3d3cc\n// > CMS_dataFinal @ 0xa89e90\n// > cms_DigestAlgorithm_find_ctx @ 0xa8a340\n// > <???> @ 0x73a1c\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:23 +0000\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 0x9e5c98 to 0x9e5cf8 (96 bytes)\n; \n; 12 xrefs:\n; > BIO_ssl_copy_session_id @ 0x99b2e8\n; > BIO_ssl_copy_session_id @ 0x99b2f8\n; > BIO_ssl_shutdown @ 0x99b360\n; > SSL_get_rfd @ 0x9ab47c\n; > SSL_get_wfd @ 0x9ab4c0\n; > PKCS7_dataFinal @ 0xa3cbcc\n; > PKCS7_dataFinal @ 0xa3cd48\n; > PKCS7_dataFinal @ 0xa3d040\n; > PKCS7_signatureVerify @ 0xa3d3cc\n; > CMS_dataFinal @ 0xa89e90\n; > cms_DigestAlgorithm_find_ctx @ 0xa8a340\n; > <???> @ 0x73a1c\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:23 +0000\n; \nCMP             R0, #0                                                 ; +0x0, 0x9e5c98\nBXEQ            LR                                                     ; +0x4, 0x9e5c9c\nTST             R1, #0xFF                                              ; +0x8, 0x9e5ca0\nBEQ             loc_9E5CD0                                             ; +0xc, 0x9e5ca4\nLDR             R3, [R0]                                               ; +0x10, 0x9e5ca8\nCMP             R3, #0                                                 ; +0x14, 0x9e5cac\nBEQ             loc_9E5CC0                                             ; +0x18, 0x9e5cb0\nLDR             R3, [R3]                                               ; +0x1c, 0x9e5cb4\nCMP             R3, R1                                                 ; +0x20, 0x9e5cb8\nBXEQ            LR                                                     ; +0x24, 0x9e5cbc\nLDR             R0, [R0,#0x24]                                         ; +0x28, 0x9e5cc0\nCMP             R0, #0                                                 ; +0x2c, 0x9e5cc4\nBNE             loc_9E5CA8                                             ; +0x30, 0x9e5cc8\nBX              LR                                                     ; +0x34, 0x9e5ccc\nLDR             R3, [R0]                                               ; +0x38, 0x9e5cd0\nCMP             R3, #0                                                 ; +0x3c, 0x9e5cd4\nBEQ             loc_9E5CE8                                             ; +0x40, 0x9e5cd8\nLDR             R3, [R3]                                               ; +0x44, 0x9e5cdc\nTST             R1, R3                                                 ; +0x48, 0x9e5ce0\nBXNE            LR                                                     ; +0x4c, 0x9e5ce4\nLDR             R0, [R0,#0x24]                                         ; +0x50, 0x9e5ce8\nCMP             R0, #0                                                 ; +0x54, 0x9e5cec\nBNE             loc_9E5CD0                                             ; +0x58, 0x9e5cf0\nBX              LR                                                     ; +0x5c, 0x9e5cf4", "xrefs": ["BIO_ssl_copy_session_id @ 0x99b2e8", "BIO_ssl_copy_session_id @ 0x99b2f8", "BIO_ssl_shutdown @ 0x99b360", "SSL_get_rfd @ 0x9ab47c", "SSL_get_wfd @ 0x9ab4c0", "PKCS7_dataFinal @ 0xa3cbcc", "PKCS7_dataFinal @ 0xa3cd48", "PKCS7_dataFinal @ 0xa3d040", "PKCS7_signatureVerify @ 0xa3d3cc", "CMS_dataFinal @ 0xa89e90", "cms_DigestAlgorithm_find_ctx @ 0xa8a340", "<???> @ 0x73a1c"], "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"}