//
// LoadingCircle::init from 0x3d4884 to 0x3d493c (184 bytes)
//
// 1 xrefs:
// > LoadingCircle::create @ 0x3d49ac
//
// 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
//
cocos2d::CCDirector *__fastcall LoadingCircle::init(LoadingCircle *this)
{
cocos2d::CCDirector *v2; // r0
cocos2d::CCDirector *v3; // r8
const char *v4; // r1
int v5; // r0
float v6; // r1
float v7; // s15
int v8; // r7
void (__fastcall *v9)(int, _DWORD *); // r9
float v11[2]; // [sp+4h] [bp-18h] BYREF
_DWORD v12[2]; // [sp+Ch] [bp-10h] BYREF
v12[0] = 0;
v2 = (cocos2d::CCDirector *)cocos2d::CCLayerColor::initWithColor(this, v12);
v3 = v2;
if ( v2 )
{
cocos2d::CCDirector::sharedDirector(v2);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v11);
v5 = cocos2d::CCSprite::create((cocos2d::CCSprite *)"loadingCircle.png", v4);
v6 = v11[0] * 0.5;
v7 = v11[1] * 0.5;
*((_DWORD *)this + 110) = v5;
v8 = v5;
v9 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v5 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, v6, v7);
v9(v8, v12);
v12[0] = 770;
v12[1] = 1;
(*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 110) + 540))(*((_DWORD *)this + 110), 770, 1);
(*(void (__fastcall **)(LoadingCircle *, _DWORD))(*(_DWORD *)this + 228))(this, *((_DWORD *)this + 110));
}
return v3;
}