// // cocos2d::CCProgressTimer::initWithSprite from 0xd6a1ec to 0xd6a2ec (256 bytes) // // 2 xrefs: // > cocos2d::CCProgressTimer::create @ 0xd6a314 // > @ 0x101b78 // // 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 13:07:56 +0000 // __int64 __fastcall cocos2d::CCProgressTimer::initWithSprite(cocos2d::CCProgressTimer *this, cocos2d::CCSprite *a2) { __int64 v4; // x1 void (__fastcall *v5)(cocos2d::CCProgressTimer *, float *); // x23 void (__fastcall *v6)(cocos2d::CCProgressTimer *, __int64); // x20 cocos2d::CCShaderCache *v7; // x0 __int64 v8; // x0 float v10; // [xsp+40h] [xbp+40h] BYREF cocos2d::CCProgressTimer::setPercentage((float *)this, 0.0); *((_QWORD *)this + 46) = 0; *((_DWORD *)this + 90) = 0; cocos2d::CCPoint::CCPoint(&v10, 0.5, 0.5); cocos2d::CCProgressTimer::setAnchorPoint(this, (const cocos2d::CCPoint *)&v10); *((_DWORD *)this + 85) = 0; v4 = *(_QWORD *)this; *((_BYTE *)this + 392) = 0; v5 = *(void (__fastcall **)(cocos2d::CCProgressTimer *, float *))(v4 + 1032); cocos2d::CCPoint::CCPoint(&v10, 0.5, 0.5); v5(this, &v10); cocos2d::CCPoint::CCPoint(&v10, 1.0, 1.0); cocos2d::CCPoint::operator=((float *)this + 96, &v10); cocos2d::CCProgressTimer::setSprite(this, a2); v6 = *(void (__fastcall **)(cocos2d::CCProgressTimer *, __int64))(*(_QWORD *)this + 664LL); v7 = (cocos2d::CCShaderCache *)cocos2d::CCShaderCache::sharedShaderCache(*(cocos2d::CCShaderCache **)this); v8 = cocos2d::CCShaderCache::programForKey(v7, "ShaderPositionTextureColor"); v6(this, v8); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source