// // sub_A50ACC from 0xa50acc to 0xa50bc0 (244 bytes) // // 1 xrefs: // > @ 0xd260d0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:08:22 +0000 // int __fastcall sub_A50ACC(int a1) { CRYPTO_THREAD_write_lock(*(pthread_rwlock_t **)(a1 + 20)); dword_D35AD0 = 1; dword_D3587C = (int)fopen("/dev/tty", "r"); if ( !dword_D3587C ) dword_D3587C = (int)&_sF; dword_D35880 = (int)fopen("/dev/tty", "w"); if ( !dword_D35880 ) dword_D35880 = (int)&_sF + 168; if ( ioctl(*(__int16 *)(dword_D3587C + 14), 0x5401u, &unk_D35AAC) != -1 ) return 1; if ( *(_DWORD *)_errno() != 25 && *(_DWORD *)_errno() != 22 ) return 0; dword_D35AD0 = 0; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source