//
// LoadingCircleSprite::init from 0x589108 to 0x589190 (136 bytes)
//
// 2 xrefs:
// > LoadingCircleSprite::create @ 0x5891e0
// > ??> @ 0xc7680
//
// 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)
{
char v4; // w19
cocos2d::CCRotateBy *v5; // x0
cocos2d::CCActionInterval *v6; // x0
cocos2d::CCRepeatForever *v7; // x0
v4 = cocos2d::CCSprite::initWithFile(a1, "loadingCircle.png");
if ( v4 )
{
v5 = (cocos2d::CCRotateBy *)((__int64 (__fastcall *)(LoadingCircleSprite *, __int64))a1->setBlendFunc)(
a1,
0x100000302LL);
v6 = (cocos2d::CCActionInterval *)cocos2d::CCRotateBy::create(v5, 1.0, a2 * 360.0);
v7 = cocos2d::CCRepeatForever::create(v6);
cocos2d::CCNode::runAction(a1, v7);
}
return v4;
}