{"type": "func", "start": 14118796, "end": 14118872, "name": "BIO_find_type", "pseudocode": "// \n// BIO_find_type from 0xd76f8c to 0xd76fd8 (76 bytes)\n// \n// 12 xrefs:\n// > BIO_ssl_copy_session_id @ 0xd30034\n// > BIO_ssl_copy_session_id @ 0xd30044\n// > BIO_ssl_shutdown @ 0xd300b0\n// > SSL_get_rfd @ 0xd3f804\n// > SSL_get_wfd @ 0xd3f844\n// > PKCS7_dataFinal @ 0xdcd7b0\n// > PKCS7_dataFinal @ 0xdcd8dc\n// > PKCS7_dataFinal @ 0xdcd98c\n// > PKCS7_signatureVerify @ 0xdcde60\n// > CMS_dataFinal @ 0xe1fba0\n// > cms_DigestAlgorithm_find_ctx @ 0xe20064\n// > <???> @ 0x2c2b0\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_QWORD *__fastcall BIO_find_type(_QWORD *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 = (_QWORD *)result[7];\n      }\n      while ( result );\n    }\n    else\n    {\n      do\n      {\n        if ( *result && (a2 & *(_DWORD *)*result) != 0 )\n          break;\n        result = (_QWORD *)result[7];\n      }\n      while ( result );\n    }\n  }\n  return result;\n}", "assembly": "; \n; BIO_find_type from 0xd76f8c to 0xd76fd8 (76 bytes)\n; \n; 12 xrefs:\n; > BIO_ssl_copy_session_id @ 0xd30034\n; > BIO_ssl_copy_session_id @ 0xd30044\n; > BIO_ssl_shutdown @ 0xd300b0\n; > SSL_get_rfd @ 0xd3f804\n; > SSL_get_wfd @ 0xd3f844\n; > PKCS7_dataFinal @ 0xdcd7b0\n; > PKCS7_dataFinal @ 0xdcd8dc\n; > PKCS7_dataFinal @ 0xdcd98c\n; > PKCS7_signatureVerify @ 0xdcde60\n; > CMS_dataFinal @ 0xe1fba0\n; > cms_DigestAlgorithm_find_ctx @ 0xe20064\n; > <???> @ 0x2c2b0\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\nCBZ             X0, locret_D76FB4                                      ; +0x0, 0xd76f8c\nAND             W2, W1, #0xFF                                          ; +0x4, 0xd76f90\nCBZ             W2, loc_D76FB8                                         ; +0x8, 0xd76f94\nLDR             X2, [X0]                                               ; +0xc, 0xd76f98\nCBZ             X2, loc_D76FAC                                         ; +0x10, 0xd76f9c\nLDR             W2, [X2]                                               ; +0x14, 0xd76fa0\nCMP             W2, W1                                                 ; +0x18, 0xd76fa4\nB.EQ            locret_D76FB4                                          ; +0x1c, 0xd76fa8\nLDR             X0, [X0,#0x38]                                         ; +0x20, 0xd76fac\nCBNZ            X0, loc_D76F98                                         ; +0x24, 0xd76fb0\nRET                                                                    ; +0x28, 0xd76fb4\nLDR             X2, [X0]                                               ; +0x2c, 0xd76fb8\nCBZ             X2, loc_D76FCC                                         ; +0x30, 0xd76fbc\nLDR             W2, [X2]                                               ; +0x34, 0xd76fc0\nTST             W1, W2                                                 ; +0x38, 0xd76fc4\nB.NE            locret_D76FB4                                          ; +0x3c, 0xd76fc8\nLDR             X0, [X0,#0x38]                                         ; +0x40, 0xd76fcc\nCBNZ            X0, loc_D76FB8                                         ; +0x44, 0xd76fd0\nRET                                                                    ; +0x48, 0xd76fd4", "xrefs": ["BIO_ssl_copy_session_id @ 0xd30034", "BIO_ssl_copy_session_id @ 0xd30044", "BIO_ssl_shutdown @ 0xd300b0", "SSL_get_rfd @ 0xd3f804", "SSL_get_wfd @ 0xd3f844", "PKCS7_dataFinal @ 0xdcd7b0", "PKCS7_dataFinal @ 0xdcd8dc", "PKCS7_dataFinal @ 0xdcd98c", "PKCS7_signatureVerify @ 0xdcde60", "CMS_dataFinal @ 0xe1fba0", "cms_DigestAlgorithm_find_ctx @ 0xe20064", "<???> @ 0x2c2b0"], "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"}