// // cocos2d::extension::CCControlSlider::locationFromTouch from 0x18000aa90 to 0x18000ab1d (141 bytes) // // 2 xrefs: // > @ 0x18002fdf8 // > @ 0x180049b94 // // 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 // float *__fastcall cocos2d::extension::CCControlSlider::locationFromTouch(__int64 a1, float *a2, __int64 a3) { __int64 v5; // rax char v7; // [rsp+38h] [rbp+10h] BYREF cocos2d::CCTouch::getLocation(a3); v5 = cocos2d::CCNode::convertToNodeSpace(a1, &v7, a2); cocos2d::CCPoint::operator=(a2, v5); if ( *a2 >= 0.0 ) { if ( *a2 > *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 512) + 304LL))(*(_QWORD *)(a1 + 512)) ) *a2 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 512) + 304LL))(*(_QWORD *)(a1 + 512)); return a2; } else { *a2 = 0.0; return a2; } }