//
// LoadingCircle::show from 0x588f54 to 0x589054 (256 bytes)
//
// 27 xrefs:
// > LevelInfoLayer::init @ 0x6db258
// > UploadPopup::init @ 0x6e5430
// > LevelBrowserLayer::init @ 0x6eb080
// > InfoLayer::init @ 0x7e3fe4
// > LeaderboardsLayer::init @ 0x81f078
// > GJRateLevelLayer::init @ 0x82310c
// > AccountLayer::customSetup @ 0x84bcd0
// > AccountRegisterLayer::init @ 0x84ecdc
// > AccountLoginLayer::init @ 0x851468
// > UpdateAccountSettingsPopup::init @ 0x8ca424
// > UploadActionPopup::init @ 0x8cb320
// > FriendRequestPopup::init @ 0x8cd73c
// > GJMessagePopup::init @ 0x8ce754
// > MessagesProfilePage::init @ 0x8f34f4
// > FRequestProfilePage::init @ 0x8f59c0
// > FriendsProfilePage::init @ 0x8f7178
// > ProfilePage::init @ 0x8fe494
// > ChallengesPage::init @ 0x9082cc
// > DailyLevelPage::init @ 0x914d24
// > DailyLevelPage::init @ 0x914db8
// > GauntletSelectLayer::init @ 0x91cc44
// > GauntletLayer::init @ 0x91f788
// > LevelLeaderboard::init @ 0x932cb8
// > TopArtistsLayer::init @ 0x9661ac
// > LevelListLayer::init @ 0xa767f0
// > UploadListPopup::init @ 0xa7adc0
// > ??> @ 0x2aae0
//
// 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 LoadingCircle::show(LoadingCircle *a1)
{
cocos2d::CCScene *m_pRunningScene; // x0
cocos2d::CCLayer *m_parentLayer; // x3
cocos2d::CCRotateBy *m_fade; // x0
cocos2d::CCActionInterval *v5; // x0
cocos2d::CCRepeatForever *v6; // x0
cocos2d::CCFadeTo *v7; // x20
cocos2d::CCFadeTo *v8; // x20
m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene;
m_parentLayer = a1->m_parentLayer;
if ( !m_parentLayer )
m_parentLayer = (cocos2d::CCLayer *)m_pRunningScene;
m_parentLayer->addChild_0(m_parentLayer, a1, 105);
m_fade = (cocos2d::CCRotateBy *)a1->m_fade;
if ( a1->m_fade )
{
a1->setOpacity(a1, 0);
v8 = cocos2d::CCFadeTo::create(0.4, 0x96u);
v8->setTag(v8, 1);
m_fade = (cocos2d::CCRotateBy *)cocos2d::CCNode::runAction(a1, v8);
}
v5 = (cocos2d::CCActionInterval *)cocos2d::CCRotateBy::create(m_fade, 1.0, 360.0);
v6 = cocos2d::CCRepeatForever::create(v5);
cocos2d::CCNode::runAction(a1->m_sprite, v6);
a1->m_sprite->setOpacity(a1->m_sprite, 0);
v7 = cocos2d::CCFadeTo::create(0.4, 0xC8u);
v7->setTag(v7, 0);
cocos2d::CCNode::runAction(a1->m_sprite, v7);
}