//
// LoadingCircle::show from 0x1004bf340 to 0x1004bf429 (233 bytes)
//
// 26 xrefs:
// > AccountLayer::customSetup @ 0x1000cc395
// > MessagesProfilePage::init @ 0x10022dd6c
// > DailyLevelPage::init @ 0x100230a8d
// > DailyLevelPage::init @ 0x100230b3d
// > UploadPopup::init @ 0x100281e0b
// > UpdateAccountSettingsPopup::init @ 0x1002a35a3
// > UploadActionPopup::init @ 0x1002a4450
// > FriendRequestPopup::init @ 0x1002a5239
// > GJMessagePopup::init @ 0x1002a7098
// > LevelInfoLayer::init @ 0x1002bd540
// > TopArtistsLayer::init @ 0x100310be6
// > LevelListLayer::init @ 0x10035d424
// > UploadListPopup::init @ 0x100363c32
// > GauntletLayer::init @ 0x100392e52
// > ChallengesPage::init @ 0x10039d608
// > LevelLeaderboard::init @ 0x1003daabc
// > LevelBrowserLayer::init @ 0x10048b776
// > AccountRegisterLayer::init @ 0x10049641f
// > AccountLoginLayer::init @ 0x1004999c1
// > GJRateLevelLayer::init @ 0x1005061c2
// > LeaderboardsLayer::init @ 0x10051294f
// > GauntletSelectLayer::init @ 0x100571b92
// > FriendsProfilePage::init @ 0x100658110
// > FRequestProfilePage::init @ 0x10079019f
// > InfoLayer::init @ 0x1007af573
// > ProfilePage::init @ 0x1007b8f74
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall LoadingCircle::show(LoadingCircle *a1)
{
cocos2d::CCDirector *v2; // rax
cocos2d::CCLayer *m_parentLayer; // rdi
cocos2d::CCFadeTo *v4; // r14
cocos2d::CCRotateBy *v5; // rax
cocos2d::CCRepeatForever *v6; // rax
cocos2d::CCFadeTo *v7; // r14
v2 = cocos2d::CCDirector::sharedDirector();
m_parentLayer = a1->m_parentLayer;
if ( !m_parentLayer )
m_parentLayer = (cocos2d::CCLayer *)v2->m_pRunningScene;
((void (__fastcall *)(cocos2d::CCLayer *, LoadingCircle *, __int64))m_parentLayer->addChild_0)(m_parentLayer, a1, 105);
if ( a1->m_fade )
{
((void (__fastcall *)(LoadingCircle *, _QWORD))a1->setOpacity)(a1, 0);
v4 = cocos2d::CCFadeTo::create(0.40000001, 0x96u);
((void (__fastcall *)(cocos2d::CCFadeTo *, __int64))v4->setTag)(v4, 1);
cocos2d::CCNode::runAction(a1, v4);
}
v5 = cocos2d::CCRotateBy::create_1(1.0, 360.0);
v6 = cocos2d::CCRepeatForever::create(v5);
cocos2d::CCNode::runAction(a1->m_sprite, v6);
((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_sprite->setOpacity)(a1->m_sprite, 0);
v7 = cocos2d::CCFadeTo::create(0.40000001, 0xC8u);
((void (__fastcall *)(cocos2d::CCFadeTo *, _QWORD))v7->setTag)(v7, 0);
cocos2d::CCNode::runAction(a1->m_sprite, v7);
}