// // sub_1005DB80C from 0x1005db80c to 0x1005db8a4 (152 bytes) // // 1 xrefs: // > @ 0x100861088 // // 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_1005DB80C(__int64 a1, void *__ptr, int a3) { size_t v4; // x19 int *v5; // x0 v4 = 0; if ( __ptr ) { if ( *(_DWORD *)(a1 + 24) ) { v4 = fread(__ptr, 1u, a3, *(FILE **)(a1 + 48)); if ( ferror(*(FILE **)(a1 + 48)) ) { v5 = __error(); sub_1005E0E48(2, 11, (unsigned int)*v5, "bss_file.c", 251); sub_1005E0E48(32, 130, 2, "bss_file.c", 252); return 0xFFFFFFFFLL; } } } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source