//
// LoadingCircle::show from 0x1004b8240 to 0x1004b8329 (233 bytes)
//
// 45 xrefs:
// > AccountLayer::customSetup @ 0x10009a7e8
// > MessagesProfilePage::init @ 0x10021205c
// > DailyLevelPage::init @ 0x10021510b
// > DailyLevelPage::init @ 0x1002151b6
// > UploadPopup::init @ 0x10026e9be
// > UpdateAccountSettingsPopup::init @ 0x10028f65a
// > UploadActionPopup::init @ 0x1002905d3
// > FriendRequestPopup::init @ 0x1002915b5
// > GJMessagePopup::init @ 0x100293798
// > LevelInfoLayer::init @ 0x1002a9f59
// > TopArtistsLayer::init @ 0x1002fb706
// > LevelListLayer::init @ 0x1003489ec
// > UploadListPopup::init @ 0x10034f7e5
// > GauntletLayer::init @ 0x10037ddb2
// > ChallengesPage::init @ 0x100387038
// > LevelLeaderboard::init @ 0x1003c7a9c
// > LevelBrowserLayer::init @ 0x100480f46
// > AccountRegisterLayer::init @ 0x10048d487
// > AccountLoginLayer::init @ 0x100491c72
// > GJRateLevelLayer::init @ 0x100504f82
// > LeaderboardsLayer::init @ 0x10051397f
// > GauntletSelectLayer::init @ 0x10059ee92
// > FRequestProfilePage::init @ 0x10086f555
// > InfoLayer::init @ 0x100892634
// > ProfilePage::init @ 0x10089e47b
// > sub_1008F0AC0 @ 0x1008f0ee8
// > sub_1008F1570 @ 0x1008f15cf
// > sub_1008F3770 @ 0x1008f5250
// > sub_1008F6A70 @ 0x1008f6abf
// > sub_1008F6E60 @ 0x1008f6fe2
// > sub_1008F7690 @ 0x1008f76df
// > sub_1008FC760 @ 0x1008fcbaf
// > MessageThreadsPage::init @ 0x100928e64
// > ThreadViewPopup::init @ 0x10092e830
// > sub_10092F070 @ 0x10092f1c3
// > sub_100930740 @ 0x10093083d
// > sub_100930890 @ 0x1009308e5
// > sub_100930F70 @ 0x1009310db
// > sub_1009314B0 @ 0x10093159e
// > sub_1009315D0 @ 0x1009316cb
// > sub_10093B920 @ 0x10093ba1d
// > sub_10095CDD0 @ 0x10095cebd
// > sub_10095CF70 @ 0x10095cfd6
// > sub_100975720 @ 0x100975a94
// > NotificationsPage::init @ 0x10098b54f
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:31:01 +0000
//
__int64 __fastcall LoadingCircle::show(__int64 a1)
{
__int64 v2; // rax
__int64 v3; // rdi
_OWORD *v4; // r14
_OWORD *v5; // rax
_DWORD *v6; // rax
_OWORD *v7; // r14
v2 = cocos2d::CCDirector::sharedDirector();
v3 = *(_QWORD *)(a1 + 552);
if ( !v3 )
v3 = *(_QWORD *)(v2 + 272);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v3 + 464LL))(v3, a1, 105);
if ( *(_BYTE *)(a1 + 560) == 1 )
{
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1168LL))(a1, 0);
v4 = cocos2d::CCFadeTo::create(150, (__m128)0x3ECCCCCDu);
(*(void (__fastcall **)(_OWORD *, __int64))(*(_QWORD *)v4 + 72LL))(v4, 1);
cocos2d::CCNode::runAction(a1, (__int64)v4);
}
v5 = cocos2d::CCRotateBy::create_1((__m128)0x3F800000u, 360.0);
v6 = cocos2d::CCRepeatForever::create((__int64)v5);
cocos2d::CCNode::runAction(*(_QWORD *)(a1 + 544), (__int64)v6);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 544) + 912LL))(*(_QWORD *)(a1 + 544), 0);
v7 = cocos2d::CCFadeTo::create(200, (__m128)0x3ECCCCCDu);
(*(void (__fastcall **)(_OWORD *, _QWORD))(*(_QWORD *)v7 + 72LL))(v7, 0);
return cocos2d::CCNode::runAction(*(_QWORD *)(a1 + 544), (__int64)v7);
}