// // sub_50D06 from 0x50d06 to 0x50d52 (76 bytes) // // 2 xrefs: // > sub_6B614 @ 0x6b6ac // > sub_BC194 @ 0xbc32c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:40:43 +0000 // int __fastcall sub_50D06(int fd, char *buf, size_t n, _DWORD *a4) { ssize_t v8; // r0 int result; // r0 int v10; // r1 for ( *a4 = 0; ; *a4 += v8 ) { if ( !n ) return 0; v8 = send(fd, buf, n, 0x4000); if ( v8 == -1 ) break; buf += v8; n -= v8; } v10 = *(_DWORD *)_errno(-1, 0); result = 43; if ( v10 == 11 ) return 45; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source