//
// sub_100136B78 from 0x100136b78 to 0x100136c40 (200 bytes)
//
// 1 xrefs:
// > MapPackCell::loadFromMapPack @ 0x1001282a0
//
// This function is hookable on this platform (idp: arm, 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 10:59:27 +0000
//
void __fastcall sub_100136B78(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x19
__int64 v4; // x8
char *v5; // x1
char *v6; // x0
__int64 v7; // x0
__int64 v8; // x0
void *v9[2]; // [xsp+0h] [xbp-40h] BYREF
__int64 v10; // [xsp+10h] [xbp-30h]
void *__p[2]; // [xsp+18h] [xbp-28h] BYREF
char v12; // [xsp+2Fh] [xbp-11h]
v2 = GameLevelManager::sharedState();
*(_DWORD *)(v2 + 1484) = *(_DWORD *)(*(_QWORD *)(a1 + 552) + 328LL);
v3 = cocos2d::CCDirector::sharedDirector(v2);
v4 = *(_QWORD *)(a1 + 552);
if ( *(char *)(v4 + 391) < 0 )
{
sub_1000097D0(v9, *(void **)(v4 + 368), *(_QWORD *)(v4 + 376));
}
else
{
*(_OWORD *)v9 = *(_OWORD *)(v4 + 368);
v10 = *(_QWORD *)(v4 + 384);
}
if ( v10 >= 0 )
v5 = (char *)v9;
else
v5 = (char *)v9[0];
sub_100009900(__p, v5);
v6 = GJSearchObject::create_1(10, (__int128 *)__p);
v7 = LevelBrowserLayer::scene(v6);
v8 = cocos2d::CCTransitionFade::create_1(v7, 0.5);
cocos2d::CCDirector::pushScene(v3, v8);
if ( v12 < 0 )
operator delete(__p[0]);
if ( SHIBYTE(v10) < 0 )
operator delete(v9[0]);
}