//
// LoadingCircle::init from 0x10044158c to 0x100441648 (188 bytes)
//
// 2 xrefs:
// > LoadingCircle::create @ 0x100441508
// > ??> @ 0x100963210
//
// This function is hookable on this platform (idp: arm, 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 11:05:12 +0000
//
__int64 __fastcall LoadingCircle::init(_QWORD *a1)
{
__int64 v2; // x20
__int64 v3; // x0
void *v4; // x21
float v6; // [xsp+0h] [xbp-30h] BYREF
__int64 v7; // [xsp+8h] [xbp-28h] BYREF
LODWORD(v7) = 0;
v2 = cocos2d::CCLayerColor::initWithColor((__int64)a1, (__int64)&v7);
if ( (_DWORD)v2 )
{
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v3, &v7);
v4 = cocos2d::CCSprite::create((__int64)"loadingCircle.png");
a1[68] = v4;
sub_1000262BC(&v6, *(float *)&v7 * 0.5, *((float *)&v7 + 1) * 0.5);
(*(void (__fastcall **)(void *, float *))(*(_QWORD *)v4 + 184LL))(v4, &v6);
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)a1[68] + 1080LL))(a1[68], 0x100000302LL);
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 456LL))(a1, a1[68]);
}
return v2;
}