// // std::__ndk1::basic_istream>::readsome from 0x9573ec to 0x95744c (96 bytes) // // 0 xrefs: // // 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:05:29 +0000 // int __fastcall std::istream::readsome(int *a1, int a2, int a3) { int v6; // r0 __int64 v7; // kr00_8 int v8; // r2 a1[1] = 0; v6 = *(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 24); v7 = *(_QWORD *)(v6 + 12); if ( (unsigned int)v7 >= HIDWORD(v7) ) v8 = (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 28))(v6); else v8 = HIDWORD(v7) - v7; if ( v8 ) { if ( v8 == -1 ) { std::ios_base::clear( (std::ios_base *)((char *)a1 + *(_DWORD *)(*a1 - 12)), *(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 16) | 2); } else { if ( v8 > a3 ) v8 = a3; std::istream::read(a1, a2, v8); } } return a1[1]; }
GD Web Decomp Icon

GD Web Decomp

Raw Source