//
// cocos2d::call_zopen64 from 0x5f09ec to 0x5f09f6 (10 bytes)
//
// 1 xrefs:
// > sub_5F132C @ 0x5f1372
//
// 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
//
int __fastcall cocos2d::call_zopen64(int a1)
{
int (__fastcall *v1)(_DWORD); // r3
v1 = *(int (__fastcall **)(_DWORD))a1;
if ( !*(_DWORD *)a1 )
v1 = *(int (__fastcall **)(_DWORD))(a1 + 32);
return v1(*(_DWORD *)(a1 + 28));
}