//
// std::__ndk1::basic_filebuf>::seekpos from 0x80a628 to 0x80a680 (88 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:01:29 +0000
//
int __fastcall std::filebuf::seekpos(int a1, int a2, int a3, int a4, __off_t off, int a6)
{
if ( !*(_DWORD *)(a2 + 64)
|| (*(int (__fastcall **)(int))(*(_DWORD *)a2 + 24))(a2)
|| fseeko(*(FILE **)(a2 + 64), off, 0) )
{
*(_DWORD *)a1 = 0;
*(_DWORD *)(a1 + 4) = 0;
*(_QWORD *)(a1 + 8) = -1;
}
else
{
*(_DWORD *)(a2 + 72) = a3;
*(_DWORD *)(a2 + 76) = a4;
*(_DWORD *)a1 = a3;
*(_DWORD *)(a1 + 4) = a4;
*(_DWORD *)(a1 + 8) = off;
*(_DWORD *)(a1 + 12) = a6;
}
return a1;
}