//
// WorldSelectLayer::onFreeLevels from 0x1003acb60 to 0x1003acbbd (93 bytes)
//
// 1 xrefs:
// > WorldSelectLayer::setupWorlds @ 0x1003abd78
//
// 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:29:24 +0000
//
__int64 WorldSelectLayer::onFreeLevels()
{
__int64 v0; // rdi
__int64 v1; // rbx
__int64 v2; // rax
v0 = GameManager::sharedState();
GameManager::reportAchievementWithID(v0, "geometry.ach.moreGames", 100, 0);
v1 = sub_100875710(v0);
v2 = cocos2d::CCDirector::sharedDirector(v0, "geometry.ach.moreGames");
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v2 + 272) + 464LL))(*(_QWORD *)(v2 + 272), v1, 100);
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v1 + 1328LL))(v1, 0);
}