//
// LoadingCircle::show from 0x3d49d8 to 0x3d4a6c (148 bytes)
//
// 34 xrefs:
// > LevelInfoLayer::init @ 0x49d564
// > UploadPopup::init @ 0x4a3aa6
// > LevelBrowserLayer::init @ 0x4a7278
// > InfoLayer::init @ 0x53f9e2
// > LeaderboardsLayer::init @ 0x563f9a
// > GJRateLevelLayer::init @ 0x565fa4
// > AccountLayer::customSetup @ 0x584fd4
// > AccountRegisterLayer::init @ 0x587276
// > AccountLoginLayer::init @ 0x587978
// > UpdateAccountSettingsPopup::init @ 0x5d8c86
// > UploadActionPopup::init @ 0x5d996c
// > FriendRequestPopup::init @ 0x5df338
// > GJMessagePopup::init @ 0x5e0a1a
// > MessagesProfilePage::init @ 0x5f06bc
// > FRequestProfilePage::init @ 0x5f260a
// > ProfilePage::init @ 0x5fad16
// > ChallengesPage::init @ 0x6005b0
// > DailyLevelPage::init @ 0x608898
// > DailyLevelPage::init @ 0x608912
// > GauntletSelectLayer::init @ 0x60d4b2
// > GauntletLayer::init @ 0x60f028
// > LevelLeaderboard::init @ 0x6158fe
// > TopArtistsLayer::init @ 0x63194c
// > UploadListPopup::init @ 0x6d6f38
// > LevelListLayer::init @ 0x6d94c4
// > PagedListPopup::showLoading @ 0x72ed38
// > NotificationsPage::init @ 0x7437ee
// > ThreadViewPopup::showLoading @ 0x746f56
// > MessageThreadsPage::init @ 0x75092a
// > LevelBadgePopup::init @ 0x752458
// > SongUsagePopup::init @ 0x76054a
// > EditorSoundBrowserLayer::showLoading @ 0x781e26
// > EditorSoundConfigInfoLayer::startDownload @ 0x784e92
// > EditorSoundConfigUploadPopup::performUpload @ 0x789126
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:43 +0000
//
int __fastcall LoadingCircle::show(cocos2d::CCNode **this)
{
int v2; // r0
float v3; // r2
unsigned __int8 v4; // r2
cocos2d::CCAction *v5; // r5
cocos2d::CCRepeatForever *v6; // r0
cocos2d::CCActionInterval *v7; // r1
cocos2d::CCAction *v8; // r0
unsigned __int8 v9; // r2
cocos2d::CCAction *v10; // r5
v2 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this) + 220);
if ( *(this + 111) )
v2 = (int)*(this + 111);
(*(void (__fastcall **)(int, cocos2d::CCNode **, int))(*(_DWORD *)v2 + 232))(v2, this, 105);
if ( *((_BYTE *)this + 448) )
{
(*((void (__fastcall **)(cocos2d::CCNode **, _DWORD))*this + 146))(this, 0);
v5 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3ECCCCCD, COERCE_FLOAT(150), v4);
(*(void (__fastcall **)(cocos2d::CCAction *, int))(*(_DWORD *)v5 + 36))(v5, 1);
cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v5);
}
v6 = (cocos2d::CCRepeatForever *)cocos2d::CCRotateBy::create((cocos2d::CCRotateBy *)0x3F800000, 360.0, v3);
v8 = (cocos2d::CCAction *)cocos2d::CCRepeatForever::create(v6, v7);
cocos2d::CCNode::runAction(*(this + 110), v8);
(*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)*(this + 110) + 456))(*(this + 110), 0);
v10 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3ECCCCCD, COERCE_FLOAT(200), v9);
(*(void (__fastcall **)(cocos2d::CCAction *, _DWORD))(*(_DWORD *)v10 + 36))(v10, 0);
return cocos2d::CCNode::runAction(*(this + 110), v10);
}