// // sub_10061C140 from 0x10061c140 to 0x10061c1f0 (176 bytes) // // 4 xrefs: // > sub_1005736F8 @ 0x100573744 // > sub_1005736F8 @ 0x100573880 // > sub_1005DA2B4 @ 0x1005da2f8 // > sub_1005DA2B4 @ 0x1005da350 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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:10:16 +0000 // __int64 __fastcall sub_10061C140(int a1, char *a2, int a3, _DWORD *a4) { int v5; // w20 ssize_t v8; // x0 *a4 = 0; if ( !a3 ) return 0; v5 = a3; while ( 1 ) { v8 = recv(a1, a2, v5, 0); if ( !v8 ) return 16; if ( v8 == -1 ) break; *a4 += v8; a2 += v8; v5 -= v8; if ( !v5 ) return 0; } if ( *__error() == 35 ) return 45; if ( *__error() == 54 ) return 16; return 43; }
GD Web Decomp Icon

GD Web Decomp

Raw Source