// // sub_75818C from 0x75818c to 0x7581ae (34 bytes) // // 0 xrefs: // // 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_75818C(int a1, char *ptr, size_t a3) { char *v4; // r4 int result; // r0 int v6; // r3 v4 = ptr; result = fread(ptr, 1u, a3, *(FILE **)(a1 + 32)); if ( result <= 0 ) v6 = -1; else v4 += result; if ( result > 0 ) v6 = (unsigned __int8)*(v4 - 1); *(_DWORD *)(a1 + 36) = v6; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source