// // cocos2d::extension::CCControlSlider::locationFromTouch from 0xd10428 to 0xd10504 (220 bytes) // // 3 xrefs: // > cocos2d::extension::CCControlSlider::ccTouchBegan @ 0xd106f0 // > cocos2d::extension::CCControlSlider::ccTouchMoved @ 0xd107bc // > @ 0xe07b8 // // 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:02 +0000 // __int64 *__usercall cocos2d::extension::CCControlSlider::locationFromTouch@( cocos2d::extension::CCControlSlider *this@, cocos2d::CCTouch *a2@, __int64 *a3@) { long double v5; // q0 float v6; // s8 __int64 v8; // [xsp+40h] [xbp+40h] BYREF cocos2d::CCTouch::getLocation(a3, a2); cocos2d::CCNode::convertToNodeSpace(&v8, this, (const cocos2d::CCPoint *)a3); *(__n128 *)&v5 = cocos2d::CCPoint::operator=(a3, &v8); if ( *(float *)a3 < 0.0 ) { *(_DWORD *)a3 = 0; } else { v6 = *(float *)a3; if ( v6 > *(float *)(*(__int64 (__fastcall **)(_QWORD, long double))(**((_QWORD **)this + 64) + 328LL))( *((_QWORD *)this + 64), v5) ) *(_DWORD *)a3 = *(_DWORD *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 64) + 328LL))(*((_QWORD *)this + 64)); } return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source