//
// LoadingCircleSprite::create from 0x140078ba0 to 0x140078c96 (246 bytes)
//
// 6 xrefs:
// > AudioAssetsBrowser::init @ 0x140099444
// > PlatformerControlsPopup::init @ 0x14044fc1e
// > MusicBrowser::init @ 0x14047b7ff
// > SecretLayer5::init @ 0x14058a2c4
// > SFXBrowser::init @ 0x1406187cd
// > ??> @ 0x140911ce4
//
// 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 11:25:52 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCSprite *__fastcall LoadingCircleSprite::create(float a1)
{
cocos2d::CCSprite *v1; // rbx
struct cocos2d::CCActionInterval *v2; // rax
struct cocos2d::CCAction *v3; // rax
v1 = (cocos2d::CCSprite *)operator new(0x258u);
cocos2d::CCSprite::CCSprite(v1);
*(_QWORD *)v1 = &LoadingCircleSprite::`vftable';
*((_QWORD *)v1 + 40) = &LoadingCircleSprite::`vftable';
*((_QWORD *)v1 + 43) = &LoadingCircleSprite::`vftable';
if ( cocos2d::CCSprite::initWithFile(v1, "loadingCircle.png") )
{
(**((void (__fastcall ***)(_QWORD *, __int64))v1 + 43))((_QWORD *)v1 + 43, 0x100000302LL);
v2 = cocos2d::CCRotateBy::create(1.0, a1 * 360.0);
v3 = cocos2d::CCRepeatForever::create(v2);
cocos2d::CCNode::runAction(v1, v3);
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)v1 + 8LL))(v1, 1);
return nullptr;
}
}