// // -[Reachability networkStatusForFlags:] from 0x100154758 to 0x1001547d8 (128 bytes) // // 1 xrefs: // > @ 0x1009ccfd0 // // 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 10:59:40 +0000 // unsigned int __cdecl -[Reachability networkStatusForFlags:](Reachability *self, SEL a2, unsigned int a3) { __CFString *v5; // x0 unsigned int v6; // w12 int v7; // w11 unsigned int v8; // w10 unsigned int v9; // w9 if ( (a3 & 2) == 0 ) return 0; v5 = -[Reachability key](self, "key"); v6 = (a3 >> 1) & 2; if ( (a3 & 0xFFF8FFFD) == 0 ) v6 = 2; if ( (a3 & 1) != 0 ) v7 = 2; else v7 = v6; if ( (a3 & 0xFFF8FFFD) == 5 ) v8 = 0; else v8 = v7; if ( (a3 & 0x40000) != 0 ) v9 = 1; else v9 = v8; if ( v5 == CFSTR("LocalWiFiConnection") ) return HIWORD(a3) & 2; else return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source