//
// LoadingCircleSprite::init from 0x1004b8500 to 0x1004b8575 (117 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:31:01 +0000
//
__int64 __fastcall LoadingCircleSprite::init(__int64 a1, float a2)
{
__int64 result; // rax
unsigned int v3; // r14d
_OWORD *v4; // rax
_DWORD *v5; // rax
result = cocos2d::CCSprite::initWithFile_1(a1, (__int64)"loadingCircle.png");
if ( (_BYTE)result )
{
v3 = result;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1080LL))(a1, 0x100000302LL);
v4 = cocos2d::CCRotateBy::create_1((__m128)0x3F800000u, a2 * 360.0);
v5 = cocos2d::CCRepeatForever::create((__int64)v4);
cocos2d::CCNode::runAction(a1, (__int64)v5);
return v3;
}
return result;
}