// // GJUINode::touchTest from 0x5c6998 to 0x5c6a60 (200 bytes) // // 3 xrefs: // > UILayer::processUINodeTouch @ 0x5c7334 // > UIOptionsLayer::ccTouchBegan @ 0x8d8de0 // > @ 0x39bb8 // // 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 // int GJUINode::touchTest(GJUINode *a1, cocos2d::CCPoint a2) { const cocos2d::CCPoint *v2; // x1 const cocos2d::CCPoint *v4; // x21 int v5; // w1 int result; // w0 cocos2d::CCPoint v7; // [xsp+30h] [xbp+30h] BYREF cocos2d::CCPoint v8; // 0:s0.4,4:s1.4 cocos2d::CCPoint v9; // 0:s0.4,4:s1.4 v4 = v2; v5 = (unsigned __int8)cocos2d::CCRect::containsPoint(&a1->m_rect, v2); result = 0; if ( v5 ) { result = 1; if ( !a1->m_oneButton ) { if ( a1->m_modeB && (a1->m_snap || !a1->m_swiping) ) { cocos2d::CCPoint::CCPoint(&v7, v4); GJUINode::updateRangePos(a1, v8); return 5; } else { cocos2d::CCPoint::CCPoint(&v7, v4); return GJUINode::activeTouchTest(a1, v9); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source