//
// GJDropDownLayer::showLayer from 0x10045973c to 0x100459840 (260 bytes)
//
// 10 xrefs:
// > ??> @ 0x1008d0970
// > ??> @ 0x1008f19a0
// > ??> @ 0x1008f2158
// > ??> @ 0x1008fe770
// > ??> @ 0x1009232c0
// > ??> @ 0x10092a158
// > ??> @ 0x100937468
// > ??> @ 0x10094a7c0
// > ??> @ 0x100967b78
// > ??> @ 0x10097e6f0
//
// 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 11:05:25 +0000
//
__int64 __fastcall GJDropDownLayer::showLayer(__int64 *a1, int a2)
{
__int64 v4; // x0
_OWORD *v5; // x0
_OWORD *v6; // x20
char v7; // w0
__int64 v8; // x1
__int64 v9; // x2
__int64 v10; // x3
__int64 v11; // x4
__int64 v12; // x5
__int64 v13; // x6
__int64 v14; // x7
__int64 v15; // x0
float *v16; // x1
cocos2d::CCNode::stopAllActions(a1[72]);
(*(void (__fastcall **)(__int64 *))(*a1 + 1344))(a1);
v4 = GameManager::sharedState();
if ( GameManager::getGameVariable(v4, "0168") || a2 )
{
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)a1[72] + 184LL))(a1[72], a1 + 68);
(*(void (__fastcall **)(__int64 *, __int64))(*a1 + 1168))(a1, 125);
return (*(__int64 (__fastcall **)(__int64 *))(*a1 + 1360))(a1);
}
else
{
v5 = cocos2d::CCMoveTo::create((double *)a1 + 68, 0.5);
v6 = cocos2d::CCEaseInOut::create((__int64)v5, 2.0);
v7 = (unsigned __int8)cocos2d::CCCallFunc::create((__int64)a1, 1360, 1);
v15 = sub_10021D420((__int64)v6, v8, v9, v10, v11, v12, v13, v14, v7);
cocos2d::CCNode::runAction(a1[72], v15);
(*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 1168))(a1, 0);
v16 = cocos2d::CCFadeTo::create(125, 0.5);
return cocos2d::CCNode::runAction((__int64)a1, (__int64)v16);
}
}