// // std::__ndk1::basic_istream>::unget from 0x957530 to 0x957604 (212 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 // _DWORD *__fastcall std::istream::unget(_DWORD *a1) { int v2; // r1 std::ios_base *v3; // r0 int v4; // r0 __int64 v5; // kr00_8 bool v7; // [sp+0h] [bp-10h] BYREF a1[1] = 0; std::ios_base::clear( (std::ios_base *)((char *)a1 + *(_DWORD *)(*a1 - 12)), *(_DWORD *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 16) & 0xFFFFFFFD); std::istream::sentry::sentry(&v7, a1, 1); v2 = *(_DWORD *)(*a1 - 12); v3 = (std::ios_base *)((char *)a1 + v2); if ( !v7 ) { std::ios_base::clear(v3, *((_DWORD *)v3 + 4) | 4); return a1; } v4 = *((_DWORD *)v3 + 6); if ( !v4 ) { LABEL_8: std::ios_base::clear((std::ios_base *)((char *)a1 + v2), *(_DWORD *)((char *)a1 + v2 + 16) | 1); return a1; } v5 = *(_QWORD *)(v4 + 8); if ( (_DWORD)v5 == HIDWORD(v5) ) { if ( (*(int (__fastcall **)(int, int))(*(_DWORD *)v4 + 44))(v4, -1) != -1 ) return a1; v2 = *(_DWORD *)(*a1 - 12); goto LABEL_8; } *(_DWORD *)(v4 + 12) = HIDWORD(v5) - 1; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source