//
// LoadingCircle::show from 0x10039a070 to 0x10039a168 (248 bytes)
//
// 26 xrefs:
// > LevelInfoLayer::init @ 0x10002440c
// > ChallengesPage::init @ 0x100031f7c
// > AccountRegisterLayer::init @ 0x1000818c8
// > AccountLoginLayer::init @ 0x1000837f4
// > AccountLayer::customSetup @ 0x100165c7c
// > ProfilePage::init @ 0x10019718c
// > TopArtistsLayer::init @ 0x1001a4b60
// > GJRateLevelLayer::init @ 0x1001b12d4
// > FRequestProfilePage::init @ 0x1001b6340
// > DailyLevelPage::init @ 0x1001b9760
// > DailyLevelPage::init @ 0x1001b97f0
// > GauntletSelectLayer::init @ 0x1001bedf8
// > MessagesProfilePage::init @ 0x1001cc210
// > FriendsProfilePage::init @ 0x1001d9254
// > GauntletLayer::init @ 0x1002326d4
// > LevelListLayer::init @ 0x100244768
// > UploadListPopup::init @ 0x1002496fc
// > LevelLeaderboard::init @ 0x10024fbfc
// > UploadPopup::init @ 0x100276824
// > UpdateAccountSettingsPopup::init @ 0x1002d7c84
// > UploadActionPopup::init @ 0x1002d86a4
// > FriendRequestPopup::init @ 0x1002d8ef8
// > GJMessagePopup::init @ 0x1002da63c
// > InfoLayer::init @ 0x10035093c
// > LeaderboardsLayer::init @ 0x1003b0b7c
// > LevelBrowserLayer::init @ 0x1004149c8
//
// 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; // x0
cocos2d::CCLayer *m_parentLayer; // x0
cocos2d::CCFadeTo *v4; // x20
cocos2d::CCRotateBy *v5; // x0
cocos2d::CCRepeatForever *v6; // x0
cocos2d::CCFadeTo *v7; // x20
v2 = cocos2d::CCDirector::sharedDirector();
if ( a1->m_parentLayer )
m_parentLayer = a1->m_parentLayer;
else
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.4, 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.4, 0xC8u);
((void (__fastcall *)(cocos2d::CCFadeTo *, _QWORD))v7->setTag)(v7, 0);
cocos2d::CCNode::runAction(a1->m_sprite, v7);
}