//
// std::__ndk1::basic_filebuf>::seekpos from 0xdb5114 to 0xdb51ac (152 bytes)
//
// 2 xrefs:
// > ??> @ 0x82240
// > ??> @ 0x1531f18
//
// 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:08:41 +0000
//
__int64 __fastcall std::filebuf::seekpos(__int64 a1, __int64 a2, __off_t a3)
{
if ( !*(_QWORD *)(a1 + 120)
|| (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a1 + 48LL))(a1)
|| fseeko(*(FILE **)(a1 + 120), a3, 0) )
{
return 0;
}
*(_QWORD *)(a1 + 136) = a2;
return a2;
}