// // cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite from 0x7acc10 to 0x7accda (202 bytes) // // 1 xrefs: // > cocos2d::extension::CCControlPotentiometer::create @ 0x7acd12 // // 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:03 +0000 // int __fastcall cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite( cocos2d::extension::CCControlPotentiometer *this, cocos2d::CCSprite *a2, cocos2d::CCProgressTimer *a3, cocos2d::CCSprite *a4) { int v8; // r8 cocos2d::CCObject *v9; // r0 cocos2d::CCObject *v10; // r0 void (__fastcall *v11)(cocos2d::CCSprite *, int); // r9 int v12; // r0 void (__fastcall *v13)(cocos2d::extension::CCControlPotentiometer *, int); // r5 int v14; // r0 v8 = cocos2d::extension::CCControl::init(this); if ( v8 ) { (*(void (__fastcall **)(cocos2d::extension::CCControlPotentiometer *, int))(*(_DWORD *)this + 500))(this, 1); if ( *((cocos2d::CCProgressTimer **)this + 90) != a3 ) { if ( a3 ) cocos2d::CCObject::retain(a3); v9 = *((cocos2d::CCObject **)this + 90); if ( v9 ) cocos2d::CCObject::release(v9); *((_DWORD *)this + 90) = a3; } if ( *((cocos2d::CCSprite **)this + 89) != a4 ) { if ( a4 ) cocos2d::CCObject::retain(a4); v10 = *((cocos2d::CCObject **)this + 89); if ( v10 ) cocos2d::CCObject::release(v10); *((_DWORD *)this + 89) = a4; } v11 = *(void (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)a4 + 92); v12 = (*(int (__fastcall **)(cocos2d::CCProgressTimer *))(*(_DWORD *)a3 + 96))(a3); v11(a4, v12); (*(void (__fastcall **)(cocos2d::extension::CCControlPotentiometer *, cocos2d::CCSprite *, int))(*(_DWORD *)this + 232))( this, a4, 2); (*(void (__fastcall **)(cocos2d::extension::CCControlPotentiometer *, cocos2d::CCProgressTimer *, int))(*(_DWORD *)this + 232))( this, a3, 1); (*(void (__fastcall **)(cocos2d::extension::CCControlPotentiometer *, cocos2d::CCSprite *))(*(_DWORD *)this + 228))( this, a2); v13 = *(void (__fastcall **)(cocos2d::extension::CCControlPotentiometer *, int))(*(_DWORD *)this + 160); v14 = (*(int (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)a2 + 164))(a2); v13(this, v14); *((_DWORD *)this + 94) = 0; *((_DWORD *)this + 95) = 1065353216; cocos2d::extension::CCControlPotentiometer::setValue(this, 0.0); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source