// // cocos2d::CCProgressTimer::initWithSprite from 0x7e015c to 0x7e01fe (162 bytes) // // 1 xrefs: // > cocos2d::CCProgressTimer::create @ 0x7e021e // // 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 12:00:48 +0000 // int __fastcall cocos2d::CCProgressTimer::initWithSprite( cocos2d::CCProgressTimer *this, cocos2d::CCSprite *a2, int a3, float a4) { int v6; // r3 void (__fastcall *v7)(cocos2d::CCProgressTimer *, float *); // r7 void (__fastcall *v8)(cocos2d::CCProgressTimer *, int); // r5 cocos2d::CCShaderCache *v9; // r0 cocos2d::CCShaderCache *v10; // r0 int v11; // r0 float v13[3]; // [sp+4h] [bp-Ch] BYREF LODWORD(v13[0]) = a2; LODWORD(v13[1]) = a3; v13[2] = a4; cocos2d::CCProgressTimer::setPercentage(*(float *)&this, nullptr, a3, _stack_chk_guard); *((_DWORD *)this + 74) = 0; *((_DWORD *)this + 73) = 0; cocos2d::CCPoint::CCPoint(v13, 0.5, 0.5); cocos2d::CCProgressTimer::setAnchorPoint(this, (const cocos2d::CCPoint *)v13); v6 = *(_DWORD *)this; *((_DWORD *)this + 70) = 0; *((_BYTE *)this + 316) = 0; v7 = *(void (__fastcall **)(cocos2d::CCProgressTimer *, float *))(v6 + 516); cocos2d::CCPoint::CCPoint(v13, 0.5, 0.5); v7(this, v13); cocos2d::CCPoint::CCPoint(v13, 1.0, 1.0); cocos2d::CCPoint::operator=((float *)this + 77, v13); cocos2d::CCProgressTimer::setSprite(this, a2); v8 = *(void (__fastcall **)(cocos2d::CCProgressTimer *, int))(*(_DWORD *)this + 332); v10 = (cocos2d::CCShaderCache *)cocos2d::CCShaderCache::sharedShaderCache(v9); v11 = cocos2d::CCShaderCache::programForKey(v10, "ShaderPositionTextureColor"); v8(this, v11); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source