// // MapSelectLayer::ccTouchBegan from 0x97f1a0 to 0x97f2a0 (256 bytes) // // 3 xrefs: // > `non-virtual thunk to'MapSelectLayer::ccTouchBegan @ 0x97f2a4 // > @ 0x94050 // > @ 0x11c3a80 // // 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 // bool MapSelectLayer::ccTouchBegan(MapSelectLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3) { float v4; // s0 float v5; // s1 float v6; // s0 float v7; // s1 cocos2d::CCPoint v9; // [xsp+40h] [xbp+40h] BYREF cocos2d::CCPoint v10; // [xsp+48h] [xbp+48h] BYREF cocos2d::CCPoint v11; // [xsp+50h] [xbp+50h] BYREF cocos2d::CCPoint v12; // 0:kr08_8.8 cocos2d::CCPoint v13; // 0:s0.4,4:s1.4 cocos2d::CCPoint v14; // 0:s0.4,4:s1.4 cocos2d::CCTouch::getLocation(a2); v12 = cocos2d::CCNode::convertToNodeSpace(a1, &v9); cocos2d::CCPoint::operator=(&v9, v12.x, v12.y); cocos2d::CCNode::convertToNodeSpace(a1->m_bigSprite, &v9); cocos2d::CCPoint::CCPoint(&v11, &v10); if ( !MapSelectLayer::checkTouchMonster(a1, v13) ) { cocos2d::CCPoint::CCPoint(&v11, &v10); MapSelectLayer::createObjectAtPoint(a1, v14); cocos2d::CCPoint::operator=(&a1->m_lastTouchPos, v4, v5); cocos2d::CCPoint::operator=(&a1->m_mapPos, v6, v7); a1->m_inTouch = 1; a1->m_lastTouchTime = sub_97D408(); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source