// // LoadingCircle::init from 0x100399fb4 to 0x10039a070 (188 bytes) // // 2 xrefs: // > LoadingCircle::create @ 0x100399f30 // > @ 0x10080a520 // // 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 __fastcall LoadingCircle::init(LoadingCircle *a1) { _BOOL4 v2; // w20 cocos2d::CCDirector *v3; // x0 cocos2d::CCSprite *v4; // x21 __n128 v5; // q0 __n128 v6; // q1 int v8; // [xsp+0h] [xbp-30h] BYREF float v9; // [xsp+8h] [xbp-28h] BYREF float v10; // [xsp+Ch] [xbp-24h] v9 = 0.0; v2 = cocos2d::CCLayerColor::initWithColor(a1, (const cocos2d::ccColor4B *)&v9); if ( v2 ) { v3 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v3); v4 = cocos2d::CCSprite::create("loadingCircle.png"); a1->m_sprite = v4; v5.n128_f32[0] = v9 * 0.5; v6.n128_f32[0] = v10 * 0.5; sub_100022980(v5, v6, &v8); ((void (__fastcall *)(cocos2d::CCSprite *, int *))v4->setPosition)(v4, &v8); ((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->m_sprite->setBlendFunc)(a1->m_sprite, 0x100000302LL); ((void (__fastcall *)(LoadingCircle *, cocos2d::CCSprite *))a1->addChild)(a1, a1->m_sprite); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source