// // cocos2d::CCProgressTimer::updateColor from 0xd695b8 to 0xd69620 (104 bytes) // // 7 xrefs: // > CCCountdown::init @ 0x68f8a8 // > cocos2d::CCProgressTimer::setColor @ 0xd69650 // > cocos2d::CCProgressTimer::setOpacity @ 0xd6968c // > cocos2d::CCProgressTimer::updateBar @ 0xd698ec // > cocos2d::CCProgressTimer::updateRadial @ 0xd69eb0 // > cocos2d::CCProgressTimer::updateRadial @ 0xd6a0a8 // > @ 0x702d0 // // 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:55 +0000 // __int64 __fastcall cocos2d::CCProgressTimer::updateColor(__int64 this) { _BYTE *v1; // x2 __int64 v2; // x1 char v3; // w5 char v4; // w4 char v5; // w6 char v6; // w7 __int64 v7; // x3 int v8; // w2 _BYTE *v9; // x1 v1 = *(_BYTE **)(this + 352); if ( v1 ) { v2 = *(_QWORD *)(this + 368); if ( v2 ) { v3 = v1[472]; v4 = v1[473]; v5 = v1[474]; v6 = v1[475]; if ( *(int *)(this + 360) > 0 ) { v7 = 0; v8 = 0; while ( 1 ) { v9 = (_BYTE *)(v2 + v7); ++v8; v7 += 20; v9[8] = v3; v9[9] = v4; v9[10] = v5; v9[11] = v6; if ( *(_DWORD *)(this + 360) <= v8 ) break; v2 = *(_QWORD *)(this + 368); } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source