//
// sub_B2BF6C from 0xb2bf6c to 0xb2bfb4 (72 bytes)
//
// 1 xrefs:
// > cocos2d::fill_fopen64_filefunc @ 0xb2c20c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_B2BF6C(int a1, FILE *stream, __int64 off, int whence)
{
__int64 result; // x0
if ( whence == 1 || whence == 2 || (result = -1, !whence) )
{
if ( fseek(stream, off, whence) )
return -1;
else
return 0;
}
return result;
}