// // sub_10066F8B0 from 0x10066f8b0 to 0x10066f9b8 (264 bytes) // // 2 xrefs: // > sub_10066F828 @ 0x10066f870 // > sub_10066FAFC @ 0x10066fb54 // // 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:06 +0000 // __int64 __fastcall sub_10066F8B0(__int64 a1, const char *a2, int a3) { __int64 v4; // x0 char *v5; // x19 _BYTE *i; // x21 __darwin_ct_rune_t v7; // w0 size_t v8; // x21 __int64 v9; // x22 __int64 v10; // x9 time_t v12; // [xsp+18h] [xbp-28h] BYREF v4 = sub_100688A44("%s:%d", a2, a3); v5 = (char *)v4; if ( !v4 ) return 0; for ( i = (_BYTE *)v4; ; ++i ) { v7 = (unsigned __int8)*i; if ( !*i || v7 == 58 ) break; *i = __tolower(v7); } v8 = strlen(v5) + 1; v9 = sub_1006922D8(*(_QWORD *)(a1 + 80), v5, v8); if ( v9 ) { if ( *(_QWORD *)(a1 + 1224) != -1 ) { time(&v12); v10 = *(_QWORD *)(v9 + 8); if ( v10 ) { if ( v12 - v10 >= *(_QWORD *)(a1 + 1224) ) { sub_10067860C(a1, "Hostname in DNS cache was stale, zapped\n"); sub_100692234(*(_QWORD *)(a1 + 80), v5, v8); v9 = 0; } } } } off_1009E5FD8(v5); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source