// // LoadingCircle::init from 0x14006b970 to 0x14006ba4d (221 bytes) // // 5 xrefs: // > LoadingCircle::create @ 0x14006b930 // > LoadingCircle::create @ 0x14006b937 // > LoadingCircle::create @ 0x14006b921 // > @ 0x140534748 // > @ 0x1406c6000 // // 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 LoadingCircle::init(LoadingCircle *a1) { bool result; // al __int64 v3; // rcx cocos2d::CCDirector *v4; // rax cocos2d::CCSprite *v5; // rax float v6; // xmm1_4 float v7; // xmm2_4 cocos2d::CCSprite_vtbl *v8; // rbx const cocos2d::CCPoint *v9; // rax cocos2d::CCTextureProtocol *v10; // rcx __int64 v11; // [rsp+38h] [rbp+10h] BYREF float v12; // [rsp+40h] [rbp+18h] float v13; // [rsp+44h] [rbp+1Ch] LODWORD(v11) = 0; result = cocos2d::CCLayerColor::initWithColor(a1, (const struct cocos2d::_ccColor4B *)&v11); if ( result ) { v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3); cocos2d::CCDirector::getWinSize(v4); v5 = cocos2d::CCSprite::create("loadingCircle.png"); v6 = v12; v7 = v13 * 0.5; a1->m_sprite = v5; v8 = v5->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, v6 * 0.5, v7); v8->setPosition_0(a1->m_sprite, v9); v10 = &a1->m_sprite->cocos2d::CCTextureProtocol; v11 = 0x100000302LL; ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v10->setBlendFunc)(v10, 0x100000302LL); a1->addChild_1(a1, a1->m_sprite); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source