// // OPENSSL_strnlen from 0xdc0444 to 0xdc0490 (76 bytes) // // 4 xrefs: // > sub_D73B80 @ 0xd7409c // > sub_D73B80 @ 0xd742f0 // > CRYPTO_strndup @ 0xdc04b8 // > @ 0x7bc00 // // 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 // __int64 __fastcall OPENSSL_strnlen(_BYTE *a1, __int64 a2) { _BYTE *v2; // x2 _BYTE *v3; // x1 _BYTE *v5; // x4 if ( !a2 ) return 0; if ( !*a1 ) return 0; v2 = a1 + 1; v3 = &a1[a2]; do { v5 = v2; if ( v2 == v3 ) return v2 - a1; } while ( *v2++ ); return v5 - a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source