//
// LoadingCircleSprite::init from 0x10039a304 to 0x10039a380 (124 bytes)
//
// 1 xrefs:
// > LoadingCircleSprite::create @ 0x10039a2b4
//
// 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
//
bool __fastcall LoadingCircleSprite::init(LoadingCircleSprite *a1, float a2)
{
_BOOL4 v4; // w20
cocos2d::CCRotateBy *v5; // x0
cocos2d::CCRepeatForever *v6; // x0
v4 = cocos2d::CCSprite::initWithFile_1(a1, "loadingCircle.png");
if ( v4 )
{
((void (__fastcall *)(LoadingCircleSprite *, __int64))a1->setBlendFunc)(a1, 0x100000302LL);
v5 = cocos2d::CCRotateBy::create_1(1.0, a2 * 360.0);
v6 = cocos2d::CCRepeatForever::create(v5);
cocos2d::CCNode::runAction(a1, v6);
}
return v4;
}