//
// LoadingCircleSprite::create from 0x14006bc60 to 0x14006bd56 (246 bytes)
//
// 6 xrefs:
// > AudioAssetsBrowser::init @ 0x140083c6b
// > MusicBrowser::init @ 0x14033939b
// > SecretLayer5::init @ 0x1403f4c2e
// > SFXBrowser::init @ 0x14047f4b7
// > ??> @ 0x1406c6024
// > ??> @ 0x1406c6030
//
// 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
//
// Hidden C++ exception states: #wind=1
LoadingCircleSprite *LoadingCircleSprite::create(float a1)
{
float v1; // xmm3_4
LoadingCircleSprite *v2; // rbx
struct cocos2d::CCRotateBy *v3; // rax
struct cocos2d::CCRepeatForever *v4; // rax
cocos2d::ccColor3B *v5; // r8
float v7; // [rsp+20h] [rbp-18h]
v2 = (LoadingCircleSprite *)operator new(0x258u);
cocos2d::CCSprite::CCSprite(v2);
v2->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LoadingCircleSprite_vtbl *)&LoadingCircleSprite::`vftable';
v2->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&LoadingCircleSprite::`vftable';
v2->cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&LoadingCircleSprite::`vftable';
if ( cocos2d::CCSprite::initWithFile(v2, "loadingCircle.png") )
{
((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v2->setBlendFunc)(
&v2->cocos2d::CCTextureProtocol,
0x100000302LL);
v3 = cocos2d::CCRotateBy::create(1.0, a1 * 360.0);
v4 = cocos2d::CCRepeatForever::create(v3);
cocos2d::CCNode::runAction((CCLightFlash *)v2, (cocos2d::CCPoint)v4, v5, v1, v7);
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
((void (__fastcall *)(LoadingCircleSprite *, __int64))v2->~LoadingCircleSprite)(v2, 1);
return nullptr;
}
}