//
// sub_100682B00 from 0x100682b00 to 0x100682b60 (96 bytes)
//
// 1 xrefs:
// > sub_100690820 @ 0x100690c7c
//
// 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:11:18 +0000
//
size_t __fastcall sub_100682B00(__int64 a1)
{
size_t result; // x0
const char **v3; // x9
result = *(_QWORD *)a1;
if ( *(_BYTE *)(result + 1320) )
{
if ( *(_BYTE *)(a1 + 739) )
v3 = (const char **)(a1 + 232);
else
v3 = (const char **)(a1 + 200);
return sub_10067860C(
result,
"Connected to %s (%s) port %ld (#%ld)\n",
*v3,
(const char *)(a1 + 120),
*(_QWORD *)(a1 + 240),
*(_QWORD *)(a1 + 80));
}
return result;
}