//
// sub_18009F7F0 from 0x18009f7f0 to 0x18009f819 (41 bytes)
//
// 17 xrefs:
// > sub_18009FA30 @ 0x18009fa66
// > sub_18009FC50 @ 0x18009fcba
// > sub_18009FC50 @ 0x18009fee6
// > sub_18009FC50 @ 0x18009ff96
// > sub_18009FC50 @ 0x1800a00f1
// > sub_18009FC50 @ 0x1800a0156
// > sub_1800A0210 @ 0x1800a0233
// > sub_1800A0210 @ 0x1800a02c1
// > sub_1800A0210 @ 0x1800a0368
// > sub_1800A0210 @ 0x1800a03e7
// > cocos2d::unzGetGlobalComment @ 0x1800a0bb0
// > cocos2d::unzGetLocalExtrafield @ 0x1800a0cd3
// > sub_1800A19A0 @ 0x1800a1a8a
// > sub_1800A19A0 @ 0x1800a1c54
// > sub_1800A19A0 @ 0x1800a1cd5
// > sub_1800A19A0 @ 0x1800a1d7b
// > cocos2d::unzReadCurrentFile @ 0x1800a22c7
//
// 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_18009F7F0(__int64 a1, __int64 a2, __int64 a3)
{
__int64 (__fastcall *v3)(_QWORD); // rax
v3 = *(__int64 (__fastcall **)(_QWORD))(a1 + 32);
if ( v3 )
return v3(*(_QWORD *)(a1 + 56));
if ( (unsigned int)a3 == a3 )
return (*(__int64 (__fastcall **)(_QWORD))(a1 + 80))(*(_QWORD *)(a1 + 56));
return 0xFFFFFFFFLL;
}