// // std::__ndk1::basic_istream>::sync from 0xf4705c to 0xf47140 (228 bytes) // // 1 xrefs: // > @ 0x54aa8 // // 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::sync(_QWORD *a1) { __int64 v2; // x8 __int64 v3; // x0 int v4; // w9 _QWORD *v7; // x0 __int64 v8; // x0 v2 = *(_QWORD *)(*a1 - 24LL); v3 = (__int64)a1 + v2; v4 = *(_DWORD *)(v3 + 32); if ( !v4 ) { v7 = *(_QWORD **)(v3 + 136); if ( v7 ) { std::ostream::flush(v7); v2 = *(_QWORD *)(*a1 - 24LL); if ( *(_DWORD *)((char *)a1 + v2 + 32) ) return 0; } v8 = *(_QWORD *)((char *)a1 + v2 + 40); if ( v8 ) { if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v8 + 48LL))(v8) != -1 ) return 0; std::ios_base::clear( (__int64)a1 + *(_QWORD *)(*a1 - 24LL), *(_DWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24LL) + 32) | 1); } return (unsigned int)-1; } std::ios_base::clear(v3, v4 | 4); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source