// // cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite from 0x180008f60 to 0x1800090b0 (336 bytes) // // 5 xrefs: // > cocos2d::extension::CCControlPotentiometer::create @ 0x180008f22 // > @ 0x18002dbdc // > @ 0x18002dbec // > @ 0x18002fdf8 // > @ 0x18004996c // // 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 // char __fastcall cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite( cocos2d::extension::CCControlPotentiometer *this, struct cocos2d::CCSprite *a2, struct cocos2d::CCProgressTimer *a3, struct cocos2d::CCSprite *a4) { __int64 v8; // rdx cocos2d::CCObject *v9; // rcx cocos2d::CCObject *v10; // rcx __int64 v11; // rbx __int64 v12; // rax __int64 v13; // rbx __int64 v14; // rax if ( !cocos2d::extension::CCControl::init(this) ) return 0; LOBYTE(v8) = 1; (*(void (__fastcall **)(cocos2d::extension::CCControlPotentiometer *, __int64))(*(_QWORD *)this + 904LL))(this, v8); if ( *((struct cocos2d::CCProgressTimer **)this + 60) != a3 ) { if ( a3 ) cocos2d::CCObject::retain(a3); v9 = *((cocos2d::CCObject **)this + 60); if ( v9 ) cocos2d::CCObject::release(v9); *((_QWORD *)this + 60) = a3; } if ( *((struct cocos2d::CCSprite **)this + 59) != a4 ) { if ( a4 ) cocos2d::CCObject::retain(a4); v10 = *((cocos2d::CCObject **)this + 59); if ( v10 ) cocos2d::CCObject::release(v10); *((_QWORD *)this + 59) = a4; } v11 = *(_QWORD *)a4; v12 = (*(__int64 (__fastcall **)(struct cocos2d::CCProgressTimer *))(*(_QWORD *)a3 + 200LL))(a3); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v11 + 184))(a4, v12); (*(void (__fastcall **)(cocos2d::extension::CCControlPotentiometer *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)this + 440LL))( this, a4, 2); (*(void (__fastcall **)(cocos2d::extension::CCControlPotentiometer *, struct cocos2d::CCProgressTimer *, __int64))(*(_QWORD *)this + 440LL))( this, a3, 1); (*(void (__fastcall **)(cocos2d::extension::CCControlPotentiometer *, struct cocos2d::CCSprite *))(*(_QWORD *)this + 448LL))( this, a2); v13 = *(_QWORD *)this; v14 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)a2 + 304LL))(a2); (*(void (__fastcall **)(cocos2d::extension::CCControlPotentiometer *, __int64))(v13 + 296))(this, v14); *((_DWORD *)this + 125) = 0; *((_DWORD *)this + 126) = 1065353216; cocos2d::extension::CCControlPotentiometer::setValue(this, 0.0); return 1; }