// // EditorUI::getTouchPoint from 0x1003f864c to 0x1003f86b4 (104 bytes) // // 8 xrefs: // > EditorUI::ccTouchBegan @ 0x1003f87b8 // > EditorUI::ccTouchMoved @ 0x1003f8cb8 // > EditorUI::ccTouchMoved @ 0x1003f8dc4 // > EditorUI::ccTouchMoved @ 0x1003f8f84 // > EditorUI::ccTouchEnded @ 0x1003f91b0 // > EditorUI::ccTouchEnded @ 0x1003f9224 // > EditorUI::ccTouchEnded @ 0x1003f9474 // > EditorUI::ccTouchEnded @ 0x1003f94f8 // // 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 __fastcall EditorUI::getTouchPoint(EditorUI *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3) { cocos2d::CCPoint *v3; // x8 cocos2d::CCPoint *v5; // x20 cocos2d::CCDirector *v6; // x0 double v7; // d0 double v9; // [xsp+8h] [xbp-18h] BYREF cocos2d::CCPoint result; // 0:s0.4,4:s1.4 v5 = v3; cocos2d::CCTouch::getLocationInView(a2); v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::convertToGL(v6, v5); sub_1000229D0(v5, &v9); cocos2d::CCNode::convertToWorldSpace(a1, v5); v7 = sub_1000229D0(v5, &v9); result.x = *(float *)&v7; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source