// // cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite from 0x1003460a0 to 0x100346205 (357 bytes) // // 1 xrefs: // > cocos2d::extension::CCControlPotentiometer::create @ 0x100346047 // // This function is hookable on this platform (idp: pc, 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 12:28:45 +0000 // __int64 __fastcall cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite( __int64 a1, __int64 a2, __int64 a3, __int64 a4) { __int64 result; // rax unsigned int v8; // r13d __int64 v9; // rdi __int64 v10; // rdi __int64 v11; // rax __int64 v12; // rax result = cocos2d::extension::CCControl::init((_DWORD *)a1); if ( (_BYTE)result ) { v8 = result; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1000LL))(a1, 1); v9 = *(_QWORD *)(a1 + 480); if ( v9 != a3 ) { if ( a3 ) { cocos2d::CCObject::retain(a3); v9 = *(_QWORD *)(a1 + 480); } if ( v9 ) cocos2d::CCObject::release(v9); *(_QWORD *)(a1 + 480) = a3; } v10 = *(_QWORD *)(a1 + 472); if ( v10 != a4 ) { if ( a4 ) { cocos2d::CCObject::retain(a4); v10 = *(_QWORD *)(a1 + 472); } if ( v10 ) cocos2d::CCObject::release(v10); *(_QWORD *)(a1 + 472) = a4; } v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a3 + 192LL))(a3); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a4 + 184LL))(a4, v11); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, a4, 2); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, a3, 1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, a2); v12 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 328LL))(a2); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 320LL))(a1, v12); *(_DWORD *)(a1 + 504) = 1065353216; *(_QWORD *)(a1 + 496) = 0; cocos2d::CCProgressTimer::setPercentage(*(_QWORD *)(a1 + 480), 0.0); (*(void (__fastcall **)(_QWORD, double))(**(_QWORD **)(a1 + 472) + 360LL))(*(_QWORD *)(a1 + 472), 0.0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1320LL))(a1, 256); return v8; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source