// // cocos2d::extension::CCControlSlider::ccTouchMoved from 0x18000ac20 to 0x18000acef (207 bytes) // // 3 xrefs: // > @ 0x180025a60 // > @ 0x18002fdf8 // > @ 0x180049bac // // 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 // void __fastcall cocos2d::extension::CCControlSlider::ccTouchMoved( cocos2d::extension::CCControlSlider *this, struct cocos2d::CCTouch *a2, struct cocos2d::CCEvent *a3) { char *v3; // rdi __int64 v4; // rax float *v5; // rax const struct cocos2d::CCPoint *v6; // rax __int64 v7; // rbx __int64 v8; // rax _BYTE v9[24]; // [rsp+20h] [rbp-18h] BYREF float v10; // [rsp+40h] [rbp+8h] BYREF char v11; // [rsp+58h] [rbp+20h] BYREF v3 = (char *)this - 320; cocos2d::CCTouch::getLocation(a2); v4 = cocos2d::CCNode::convertToNodeSpace(v3, &v11, &v10); cocos2d::CCPoint::operator=(&v10, v4); if ( v10 >= 0.0 ) { v5 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v3 + 64) + 304LL))(*((_QWORD *)v3 + 64)); if ( v10 > *v5 ) v10 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v3 + 64) + 304LL))(*((_QWORD *)v3 + 64)); } else { v10 = 0.0; } v6 = (const struct cocos2d::CCPoint *)cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v11, (const struct cocos2d::CCPoint *)&v10); v7 = *(_QWORD *)v3; v8 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v6); cocos2d::extension::CCControlSlider::valueForLocation(v3, v8); (*(void (__fastcall **)(char *))(v7 + 1112))(v3); }