//
// LoadingCircle::show from 0x2f0774 to 0x2f0808 (148 bytes)
//
// 26 xrefs:
// > LevelInfoLayer::init @ 0x3b3c58
// > UploadPopup::init @ 0x3b96e6
// > LevelBrowserLayer::init @ 0x3bc612
// > InfoLayer::init @ 0x430ca4
// > LeaderboardsLayer::init @ 0x4526c0
// > GJRateLevelLayer::init @ 0x454b9c
// > AccountLayer::customSetup @ 0x467060
// > AccountRegisterLayer::init @ 0x4689f2
// > AccountLoginLayer::init @ 0x469ac4
// > UpdateAccountSettingsPopup::init @ 0x4abec8
// > UploadActionPopup::init @ 0x4ac49c
// > FriendRequestPopup::init @ 0x4ad59e
// > GJMessagePopup::init @ 0x4adf30
// > MessagesProfilePage::init @ 0x4c153c
// > sub_4C275C @ 0x4c2a2a
// > FriendsProfilePage::init @ 0x4c3ace
// > ProfilePage::init @ 0x4c7a34
// > ChallengesPage::init @ 0x4ccbbc
// > DailyLevelPage::init @ 0x4d52de
// > DailyLevelPage::init @ 0x4d5352
// > GauntletSelectLayer::init @ 0x4d9a34
// > GauntletLayer::init @ 0x4db33e
// > LevelLeaderboard::init @ 0x4e59c2
// > TopArtistsLayer::init @ 0x501090
// > LevelListLayer::init @ 0x591748
// > UploadListPopup::init @ 0x593756
//
// 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)
{
void *m_pRunningScene; // r0
float v3; // r2
cocos2d::CCFadeTo *v4; // r5
cocos2d::CCActionInterval *v5; // r0
cocos2d::CCRepeatForever *v6; // r0
cocos2d::CCFadeTo *v7; // r5
m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene;
if ( a1->m_parentLayer )
m_pRunningScene = a1->m_parentLayer;
(*(void (__fastcall **)(void *, LoadingCircle *, int))(*(_DWORD *)m_pRunningScene + 224))(m_pRunningScene, a1, 105);
if ( a1->m_fade )
{
a1->setOpacity(a1, 0);
v4 = cocos2d::CCFadeTo::create(0.4, 0x96u);
v4->setTag(v4, 1);
cocos2d::CCNode::runAction(a1, v4);
}
v5 = (cocos2d::CCActionInterval *)cocos2d::CCRotateBy::create((cocos2d::CCRotateBy *)0x3F800000, 360.0, v3);
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);
}