// // std::__ndk1::basic_istream>::readsome from 0xf46d40 to 0xf46de0 (160 bytes) // // 1 xrefs: // > @ 0x85ff0 // // 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::readsome(__int64 *a1, __int64 a2, __int64 a3) { __int64 v4; // x8 _QWORD *v7; // x0 unsigned __int64 v8; // x8 unsigned __int64 v9; // x9 __int64 v10; // x0 __int64 v11; // x2 v4 = *a1; a1[1] = 0; v7 = *(_QWORD **)((char *)a1 + *(_QWORD *)(v4 - 24) + 40); v8 = v7[3]; v9 = v7[4]; if ( v8 >= v9 ) v10 = (*(__int64 (__fastcall **)(_QWORD *))(*v7 + 56LL))(v7); else v10 = v9 - v8; if ( v10 ) { if ( v10 == -1 ) { std::ios_base::clear( (__int64)a1 + *(_QWORD *)(*a1 - 24), *(_DWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24) + 32) | 2); } else { if ( v10 <= a3 ) v11 = v10; else v11 = a3; std::istream::read(a1, a2, v11); } } return a1[1]; }
GD Web Decomp Icon

GD Web Decomp

Raw Source