//
// LoadingCircleSprite::init from 0x2f0884 to 0x2f08e2 (94 bytes)
//
// 1 xrefs:
// > LoadingCircleSprite::create @ 0x2f0922
//
// 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 LoadingCircleSprite::init(LoadingCircleSprite *a1, float a2)
{
int v4; // r5
float v5; // r2
cocos2d::CCActionInterval *v6; // r0
cocos2d::CCRepeatForever *v7; // r0
v4 = cocos2d::CCSprite::initWithFile(a1, "loadingCircle.png");
if ( v4 )
{
((void (__fastcall *)(LoadingCircleSprite *, int, int, void *, int, int))a1->setBlendFunc)(
a1,
770,
1,
&unk_9A9914,
770,
1);
v6 = (cocos2d::CCActionInterval *)cocos2d::CCRotateBy::create((cocos2d::CCRotateBy *)0x3F800000, a2 * 360.0, v5);
v7 = cocos2d::CCRepeatForever::create(v6);
cocos2d::CCNode::runAction(a1, v7);
}
return v4;
}