// // std::__ndk1::basic_istream>::get from 0xf461c8 to 0xf462cc (260 bytes) // // 2 xrefs: // > std::__ndk1::basic_istream>::get @ 0xf462e0 // > @ 0xde0b8 // // 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 13:13:10 +0000 // __int64 __fastcall std::istream::get(__int64 *a1) { __int64 v2; // x8 __int64 v3; // x8 __int64 v4; // x0 int v5; // w9 __int64 result; // x0 _QWORD *v7; // x0 _QWORD *v8; // x0 unsigned __int8 *v9; // x8 v2 = *a1; a1[1] = 0; v3 = *(_QWORD *)(v2 - 24); v4 = (__int64)a1 + v3; v5 = *(_DWORD *)(v4 + 32); if ( v5 ) { std::ios_base::clear(v4, v5 | 4); return 0xFFFFFFFFLL; } v7 = *(_QWORD **)(v4 + 136); if ( v7 ) { std::ostream::flush(v7); v3 = *(_QWORD *)(*a1 - 24); if ( *(_DWORD *)((char *)a1 + v3 + 32) ) return 0xFFFFFFFFLL; } v8 = *(_QWORD **)((char *)a1 + v3 + 40); v9 = (unsigned __int8 *)v8[3]; if ( v9 == (unsigned __int8 *)v8[4] ) { result = (*(__int64 (__fastcall **)(_QWORD *))(*v8 + 80LL))(v8); if ( (_DWORD)result == -1 ) { std::ios_base::clear( (__int64)a1 + *(_QWORD *)(*a1 - 24), *(_DWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24) + 32) | 6); return 0xFFFFFFFFLL; } } else { v8[3] = v9 + 1; result = *v9; } a1[1] = 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source