//
// LoadingCircleSprite::init from 0x1004bf600 to 0x1004bf675 (117 bytes)
//
// 0 xrefs:
//
// 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)
{
bool result; // al
bool v3; // r14
cocos2d::CCRotateBy *v4; // rax
cocos2d::CCRepeatForever *v5; // rax
result = cocos2d::CCSprite::initWithFile_1(a1, "loadingCircle.png");
if ( result )
{
v3 = result;
((void (__fastcall *)(LoadingCircleSprite *, __int64))a1->setBlendFunc)(a1, 0x100000302LL);
v4 = cocos2d::CCRotateBy::create_1(1.0, a2 * 360.0);
v5 = cocos2d::CCRepeatForever::create(v4);
cocos2d::CCNode::runAction(a1, v5);
return v3;
}
return result;
}