{"type": "func", "start": 16732908, "end": 16732984, "name": "BIO_find_type", "pseudocode": "// \n// BIO_find_type from 0xff52ec to 0xff5338 (76 bytes)\n// \n// 12 xrefs:\n// > BIO_ssl_copy_session_id @ 0xfae388\n// > BIO_ssl_copy_session_id @ 0xfae398\n// > BIO_ssl_shutdown @ 0xfae404\n// > SSL_get_rfd @ 0xfbdb58\n// > SSL_get_wfd @ 0xfbdb98\n// > PKCS7_dataFinal @ 0x104bb10\n// > PKCS7_dataFinal @ 0x104bc3c\n// > PKCS7_dataFinal @ 0x104bcec\n// > PKCS7_signatureVerify @ 0x104c1c0\n// > CMS_dataFinal @ 0x109dea0\n// > cms_DigestAlgorithm_find_ctx @ 0x109e364\n// > <???> @ 0x42d90\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:15:48 +0000\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 0xff52ec to 0xff5338 (76 bytes)\n; \n; 12 xrefs:\n; > BIO_ssl_copy_session_id @ 0xfae388\n; > BIO_ssl_copy_session_id @ 0xfae398\n; > BIO_ssl_shutdown @ 0xfae404\n; > SSL_get_rfd @ 0xfbdb58\n; > SSL_get_wfd @ 0xfbdb98\n; > PKCS7_dataFinal @ 0x104bb10\n; > PKCS7_dataFinal @ 0x104bc3c\n; > PKCS7_dataFinal @ 0x104bcec\n; > PKCS7_signatureVerify @ 0x104c1c0\n; > CMS_dataFinal @ 0x109dea0\n; > cms_DigestAlgorithm_find_ctx @ 0x109e364\n; > <???> @ 0x42d90\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:15:48 +0000\n; \nCBZ             X0, locret_FF5314                                      ; +0x0, 0xff52ec\nAND             W2, W1, #0xFF                                          ; +0x4, 0xff52f0\nCBZ             W2, loc_FF5318                                         ; +0x8, 0xff52f4\nLDR             X2, [X0]                                               ; +0xc, 0xff52f8\nCBZ             X2, loc_FF530C                                         ; +0x10, 0xff52fc\nLDR             W2, [X2]                                               ; +0x14, 0xff5300\nCMP             W2, W1                                                 ; +0x18, 0xff5304\nB.EQ            locret_FF5314                                          ; +0x1c, 0xff5308\nLDR             X0, [X0,#0x38]                                         ; +0x20, 0xff530c\nCBNZ            X0, loc_FF52F8                                         ; +0x24, 0xff5310\nRET                                                                    ; +0x28, 0xff5314\nLDR             X2, [X0]                                               ; +0x2c, 0xff5318\nCBZ             X2, loc_FF532C                                         ; +0x30, 0xff531c\nLDR             W2, [X2]                                               ; +0x34, 0xff5320\nTST             W1, W2                                                 ; +0x38, 0xff5324\nB.NE            locret_FF5314                                          ; +0x3c, 0xff5328\nLDR             X0, [X0,#0x38]                                         ; +0x40, 0xff532c\nCBNZ            X0, loc_FF5318                                         ; +0x44, 0xff5330\nRET                                                                    ; +0x48, 0xff5334", "xrefs": ["BIO_ssl_copy_session_id @ 0xfae388", "BIO_ssl_copy_session_id @ 0xfae398", "BIO_ssl_shutdown @ 0xfae404", "SSL_get_rfd @ 0xfbdb58", "SSL_get_wfd @ 0xfbdb98", "PKCS7_dataFinal @ 0x104bb10", "PKCS7_dataFinal @ 0x104bc3c", "PKCS7_dataFinal @ 0x104bcec", "PKCS7_signatureVerify @ 0x104c1c0", "CMS_dataFinal @ 0x109dea0", "cms_DigestAlgorithm_find_ctx @ 0x109e364", "<???> @ 0x42d90"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}