//
// LoadingCircleSprite::init from 0x3d4ae8 to 0x3d4b46 (94 bytes)
//
// 1 xrefs:
// > LoadingCircleSprite::create @ 0x3d4b86
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:46:43 +0000
//
int __fastcall LoadingCircleSprite::init(LoadingCircleSprite *this, float a2)
{
int v4; // r5
float v5; // r2
cocos2d::CCRepeatForever *v6; // r0
cocos2d::CCActionInterval *v7; // r1
cocos2d::CCAction *v8; // r0
v4 = cocos2d::CCSprite::initWithFile(this, "loadingCircle.png");
if ( v4 )
{
(*(void (__fastcall **)(LoadingCircleSprite *, int, int, void *, int, int))(*(_DWORD *)this + 540))(
this,
770,
1,
&unk_BEAE3C,
770,
1);
v6 = (cocos2d::CCRepeatForever *)cocos2d::CCRotateBy::create((cocos2d::CCRotateBy *)0x3F800000, a2 * 360.0, v5);
v8 = (cocos2d::CCAction *)cocos2d::CCRepeatForever::create(v6, v7);
cocos2d::CCNode::runAction(this, v8);
}
return v4;
}