//
// WorldSelectLayer::onFreeLevels from 0x62c93c to 0x62c978 (60 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:55:13 +0000
//
int __fastcall WorldSelectLayer::onFreeLevels(WorldSelectLayer *this, cocos2d::CCObject *a2)
{
GameManager *v2; // r0
GJMoreGamesLayer *v3; // r0
int *v4; // r4
int v5; // r0
v2 = (GameManager *)GameManager::sharedState(this);
v3 = (GJMoreGamesLayer *)GameManager::reportAchievementWithID(
v2,
"geometry.ach.moreGames",
(const char *)&dword_64,
0);
v4 = GJMoreGamesLayer::create(v3);
v5 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v4);
(*(void (__fastcall **)(_DWORD, int *, int))(**(_DWORD **)(v5 + 220) + 232))(*(_DWORD *)(v5 + 220), v4, 100);
return (*(int (__fastcall **)(int *, _DWORD))(*v4 + 664))(v4, 0);
}