// // cocos2d::extension::CCControlSwitch::locationFromTouch from 0x5a4b54 to 0x5a4b92 (62 bytes) // // 4 xrefs: // > cocos2d::extension::CCControlSwitch::ccTouchBegan @ 0x5a4bda // > cocos2d::extension::CCControlSwitch::ccTouchMoved @ 0x5a4c4a // > cocos2d::extension::CCControlSwitch::ccTouchEnded @ 0x5a4cb6 // > cocos2d::extension::CCControlSwitch::ccTouchCancelled @ 0x5a4d52 // // 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 // cocos2d::CCPoint *cocos2d::extension::CCControlSwitch::locationFromTouch( cocos2d::CCPoint *__return_ptr retstr, cocos2d::extension::CCControlSwitch *a2, cocos2d::CCTouch *a3) { int v5; // r2 bool v6; // r3 cocos2d::CCPoint v8; // [sp+4h] [bp-10h] BYREF cocos2d::CCTouch::getLocation(retstr, a3); cocos2d::CCNode::convertToNodeSpace(&v8, a2, retstr); cocos2d::CCPoint::operator=((PlayerObject *)retstr, COERCE_FLOAT(&v8), v5, v6); return retstr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source