// // sub_8B5700 from 0x8b5700 to 0x8b57d4 (212 bytes) // // 1 xrefs: // > @ 0xa3a3f8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_8B5700(int a1, int a2, int a3) { bool v3; // cc int v4; // r4 int data; // r9 int v10; // r0 int v11; // r8 int v12; // r7 int init; // r0 bool v14; // cc v3 = a2 <= 0; if ( a2 ) v3 = a3 <= 0; if ( v3 ) return 0; data = BIO_get_data(a1); v10 = BIO_next(a1); v4 = v10; if ( v10 ) v4 = 1; if ( data ) v11 = v4 & 1; else v11 = 0; if ( v11 ) { v12 = BIO_write(v10, a2, a3); init = BIO_get_init(a1); v14 = init <= 0; if ( init ) v14 = v12 <= 0; if ( !v14 ) { v4 = EVP_DigestUpdate(data); if ( !v4 ) { BIO_clear_flags(a1, 15); return v4; } } } else { BIO_get_init(a1); if ( !v4 ) return v4; v12 = 0; } BIO_clear_flags(a1, 15); BIO_copy_next_retry(a1); return v12; }
GD Web Decomp Icon

GD Web Decomp

Raw Source