//
// LocalLevelManager::fileShareFinished from 0x14046f680 to 0x14046f6ff (127 bytes)
//
// 4 xrefs:
// > ??> @ 0x1407b3c40
// > ??> @ 0x1408ce498
// > ??> @ 0x1408ce4a8
// > ??> @ 0x140928118
//
// This function is hookable on this platform (idp: pc, 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 11:32:38 +0000
//
void __fastcall LocalLevelManager::fileShareFinished(__int64 a1, char a2)
{
__int64 v3; // rax
__int64 v4; // rax
if ( a2 )
{
*(_DWORD *)(a1 + 328) = *(_DWORD *)(a1 + 320);
v3 = cocos2d::CCDirector::sharedDirector(a1);
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 112LL))(v3);
cocos2d::CCScheduler::scheduleSelector(v4, LocalLevelManager::postFileResults, a1 - 360);
*(_DWORD *)(a1 + 320) = 0;
}
else
{
*(_DWORD *)(a1 + 320) = 0;
}
}