//
// CreatorLayer::onMapPacks from 0x1002837b0 to 0x100283801 (81 bytes)
//
// 1 xrefs:
// > CreatorLayer::init @ 0x10028236c
//
// 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:27:44 +0000
//
void __fastcall CreatorLayer::onMapPacks(__int64 a1, __int64 a2)
{
__int64 v2; // rbx
__int64 v3; // rax
__int64 v4; // rax
char *v5; // rsi
__int64 v6; // rdx
__int64 v7; // rax
v2 = cocos2d::CCDirector::sharedDirector(a1, a2);
v3 = GJSearchObject::create_2(9);
v4 = LevelBrowserLayer::scene(v3);
v5 = cocos2d::CCTransitionFade::create_1(v4, 0.5);
cocos2d::CCDirector::pushScene(v2, v5);
GameManager::sharedState(v2, v5, v6);
*(_DWORD *)(v7 + 708) = 1;
}