// // ScrollableContentLayer::handleTouchBegan from 0x6e1f90 to 0x6e2180 (496 bytes) // // 14 xrefs: // > CCTextInputNode::ccTouchBegan @ 0x6c1ff0 // > ScrollableContentLayer::feedTouchBegan @ 0x6e2880 // > KeybindingsLayer::ccTouchBegan @ 0x994e9c // > SetGroupIDLayer::ccTouchBegan @ 0xab8e28 // > NewsPopup::ccTouchBegan @ 0xb8a2fc // > ScrollViewPopup::ccTouchBegan @ 0xb996f4 // > DeathHistogram::handleTouchBegan @ 0xc993a8 // > DeathTrackerPopup::ccTouchBegan @ 0xca994c // > DropdownListPopup::ccTouchBegan @ 0xcb67e4 // > EditorSFXActionConfigLayer::ccTouchBegan @ 0xcbdc00 // > EditorSoundConfigInfoLayer::ccTouchBegan @ 0xccc9b0 // > EditorSoundsLayer::ccTouchBegan @ 0xcd59ac // > EditorWindowPopup::beginTouch @ 0xcd9ef0 // > @ 0xa7158 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:51:39 +0000 // __int64 __fastcall ScrollableContentLayer::handleTouchBegan(ScrollableContentLayer *this, cocos2d::CCTouch *a2) { __int64 result; // x0 float v4; // s1 clock_t v5; // x0 __int64 v6; // x1 float v7; // s8 const cocos2d::CCSize *v8; // x0 float v9; // s0 int v10; // w2 int v11; // w1 __int64 v12; // [xsp+58h] [xbp+58h] BYREF _BYTE v13[4]; // [xsp+60h] [xbp+60h] BYREF float v14; // [xsp+64h] [xbp+64h] __int64 v15[2]; // [xsp+68h] [xbp+68h] BYREF result = 0; if ( *((_DWORD *)this + 110) == -1 ) { v4 = *((float *)this + 108); if ( *((_BYTE *)this + 584) ) { result = 0; if ( v4 <= *((float *)this + 106) ) return result; } else { result = 0; if ( v4 <= *((float *)this + 107) ) return result; } *((_DWORD *)this + 110) = *((_DWORD *)a2 + 14); cocos2d::CCTouch::getLocation(v15, a2); cocos2d::CCPoint::operator=((char *)this + 444, v15); cocos2d::CCPoint::operator=((char *)this + 452, (char *)this + 444); v5 = clock(); *((_BYTE *)this + 480) = 0; v6 = *((_QWORD *)this + 61); *((_BYTE *)this + 481) = 0; *((_BYTE *)this + 508) = 0; *((_DWORD *)this + 118) = 0; *((_DWORD *)this + 119) = 0; *((double *)this + 58) = (double)v5 / 1000000.0; if ( v6 && (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v6 + 352LL))(v6) ) { cocos2d::CCNode::convertToNodeSpace(&v12, this, (ScrollableContentLayer *)((char *)this + 444)); v7 = (float)((float)(*((float *)this + 106) - 2.0) + *((float *)this + 125)) - 3.0; v8 = (const cocos2d::CCSize *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 328LL))(*((_QWORD *)this + 61)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v13, v8); v9 = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 240LL))(*((_QWORD *)this + 61)); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v15, v7 - 8.0, (float)(v9 - v14) - 2.0, 19.0, v14 + 4.0); if ( (unsigned __int8)cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v15, (const cocos2d::CCPoint *)&v12) ) { v10 = *((_DWORD *)this + 112); v11 = *((_DWORD *)this + 109); *((_BYTE *)this + 508) = 1; *((_BYTE *)this + 480) = 1; *((_BYTE *)this + 481) = 1; *((_DWORD *)this + 128) = v10; *((_DWORD *)this + 129) = v11; } } cocos2d::CCNode::unscheduleUpdate(this); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source