//
// sub_1006CF580 from 0x1006cf580 to 0x1006cf5e1 (97 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b8f750
//
// 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 12:35:38 +0000
//
void __fastcall sub_1006CF580(__int64 a1, int a2)
{
__int64 v2; // rax
__int64 v3; // rax
if ( a2 )
{
*(_DWORD *)(a1 + 264) = *(_DWORD *)(a1 + 256);
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 128LL))(v2);
cocos2d::CCScheduler::scheduleSelector(v3, (__int64)LocalLevelManager::postFileResults, 0, a1 - 352, 0, 0, 0.0, 0.0);
}
*(_DWORD *)(a1 + 256) = 0;
}