// // sub_B711F8 from 0xb711f8 to 0xb71240 (72 bytes) // // 6 xrefs: // > sub_B7CCA8 @ 0xb7d280 // > sub_B7E980 @ 0xb7ed44 // > sub_B97550 @ 0xb97ebc // > sub_B98800 @ 0xb98b2c // > sub_BA32E4 @ 0xba3480 // > sub_BA3884 @ 0xba3d08 // // 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 // const char *__fastcall sub_B711F8(__int64 a1, char *buf, socklen_t len) { int v3; // w4 __int64 v5; // x5 char *v6; // x2 int v7; // w0 const void *v8; // x1 __int64 v9; // x5 v3 = *(_DWORD *)(a1 + 4); if ( v3 == 2 ) { v9 = *(_QWORD *)(a1 + 32); v6 = buf; v7 = 2; v8 = (const void *)(v9 + 4); return inet_ntop(v7, v8, v6, len); } if ( v3 == 10 ) { v5 = *(_QWORD *)(a1 + 32); v6 = buf; v7 = 10; v8 = (const void *)(v5 + 8); return inet_ntop(v7, v8, v6, len); } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source