// // cocos2d::extension::CCControlSlider::ccTouchBegan from 0x18000ab20 to 0x18000ac1d (253 bytes) // // 3 xrefs: // > @ 0x180025a58 // > @ 0x18002fdf8 // > @ 0x180049ba0 // // 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::CCControlSlider::ccTouchBegan( cocos2d::extension::CCControlSlider *this, struct cocos2d::CCTouch *a2, struct cocos2d::CCEvent *a3) { _QWORD **v3; // rbx __int64 v5; // rax float *v6; // rax __int64 v7; // rax float v9; // [rsp+30h] [rbp+8h] BYREF char v10; // [rsp+48h] [rbp+20h] BYREF v3 = (_QWORD **)((char *)this - 320); if ( !(*(unsigned __int8 (__fastcall **)(char *, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))(*((_QWORD *)this - 40) + 1104LL))( (char *)this - 320, a2, a3) || !((unsigned __int8 (__fastcall *)(_QWORD **))(*v3)[128])(v3) || !((unsigned __int8 (__fastcall *)(_QWORD **))(*v3)[41])(v3) ) { return 0; } cocos2d::CCTouch::getLocation(a2); v5 = cocos2d::CCNode::convertToNodeSpace(v3, &v10, &v9); cocos2d::CCPoint::operator=(&v9, v5); if ( v9 >= 0.0 ) { v6 = (float *)(*(__int64 (__fastcall **)(_QWORD *))(*v3[64] + 304LL))(v3[64]); if ( v9 > *v6 ) v9 = *(float *)(*(__int64 (__fastcall **)(_QWORD *))(*v3[64] + 304LL))(v3[64]); } else { v9 = 0.0; } v7 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v10, (const struct cocos2d::CCPoint *)&v9); cocos2d::extension::CCControlSlider::sliderBegan(v3, v7); return 1; }