// // sub_7D29A8 from 0x7d29a8 to 0x7d2a48 (160 bytes) // // 1 xrefs: // > @ 0xa307e4 // // 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 // size_t __fastcall sub_7D29A8(int a1, void *ptr, size_t a3) { bool v3; // zf size_t result; // r0 _DWORD *v6; // r0 v3 = ptr == nullptr; if ( ptr ) v3 = *(_DWORD *)(a1 + 12) == 0; if ( v3 ) return 0; result = fread(ptr, 1u, a3, *(FILE **)(a1 + 32)); if ( (*(_WORD *)(*(_DWORD *)(a1 + 32) + 12) & 0x40) != 0 ) { v6 = (_DWORD *)_errno(); ERR_put_error(2, 11, *v6, "crypto/bio/bss_file.c", 154); ERR_put_error(32, 130, 2, "crypto/bio/bss_file.c", 155); return -1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source