// // sub_10061BF8C from 0x10061bf8c to 0x10061c068 (220 bytes) // // 1 xrefs: // > sub_10054E6A0 @ 0x10054e6e8 // // 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_10061BF8C(int a1, int a2, _QWORD *a3) { int v5; // w0 int v6; // w20 int v7; // w0 int v8; // w9 int v10; // [xsp+Ch] [xbp-24h] BYREF v5 = accept(a1, nullptr, nullptr); if ( v5 == -1 ) { if ( *__error() == 35 ) return 45; else return 43; } else { v6 = v5; v7 = fcntl(v5, 3); if ( v7 == -1 ) return 43; v8 = a2 ? 4 : 0; if ( fcntl(v6, 4, v7 & 0xFFFFFFFB | v8) == -1 ) return 43; v10 = 1; if ( setsockopt(v6, 0xFFFF, 4130, &v10, 4u) == -1 ) { return 43; } else { *a3 = v6; return 0; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source