// // std::__ndk1::basic_streambuf>::xsgetn from 0x7fd42c to 0x7fd4e0 (180 bytes) // // 6 xrefs: // > @ 0x83bc0 // > @ 0x143ee90 // > @ 0x143ef30 // > @ 0x1531f30 // > @ 0x15331f0 // > @ 0x1533328 // // 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 12:54:42 +0000 // __int64 __fastcall std::streambuf::xsgetn(_QWORD *a1, __int64 a2, __int64 a3) { __int64 v3; // x21 __int64 v6; // x19 _BYTE *v7; // x0 int v8; // w0 v3 = a3; if ( a3 <= 0 ) { return 0; } else { v6 = 0; while ( 1 ) { while ( 1 ) { v7 = (_BYTE *)a1[3]; if ( (unsigned __int64)v7 >= a1[4] ) break; a1[3] = v7 + 1; *(_BYTE *)(a2 + v6++) = *v7; if ( v6 == v3 ) return v3; } v8 = (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 80LL))(a1); if ( v8 == -1 ) break; *(_BYTE *)(a2 + v6++) = v8; if ( v6 == v3 ) return v3; } return v6; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source