// // ScrollingLayer::ccTouchBegan from 0x6c9c38 to 0x6c9d38 (256 bytes) // // 3 xrefs: // > `non-virtual thunk to'ScrollingLayer::ccTouchBegan @ 0x6c9d3c // > @ 0x100c00 // > @ 0x1422fa0 // // 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:22 +0000 // __int64 __fastcall ScrollingLayer::ccTouchBegan(ScrollingLayer *a1, cocos2d::CCTouch *a2) { unsigned __int8 v4; // w0 unsigned int v5; // w20 cocos2d::CCDirector *LocationInView; // x0 cocos2d::CCDirector *v8; // x0 unsigned __int8 v9; // w0 __int64 v10; // [xsp+48h] [xbp+48h] BYREF __int64 v11; // [xsp+50h] [xbp+50h] BYREF _BYTE v12[16]; // [xsp+58h] [xbp+58h] BYREF v4 = (*(__int64 (__fastcall **)(ScrollingLayer *))(*(_QWORD *)a1 + 352LL))(a1); v5 = v4; if ( v4 ) { ScrollingLayer::getViewRect(a1, (cocos2d::CCRect *)v12); LocationInView = (cocos2d::CCDirector *)cocos2d::CCTouch::getLocationInView(&v10, a2); v8 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(LocationInView); cocos2d::CCDirector::convertToGL(&v11, v8, (const cocos2d::CCPoint *)&v10); cocos2d::CCPoint::operator=(&v10, &v11); if ( *((_DWORD *)a1 + 147) == -1 && (v9 = cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v12, (const cocos2d::CCPoint *)&v10), (v5 = v9) != 0) ) { *((_DWORD *)a1 + 147) = *((_DWORD *)a2 + 14); cocos2d::CCPoint::operator=((char *)a1 + 560, &v10); cocos2d::CCPoint::operator=((char *)a1 + 568, (char *)a1 + 560); } else { return 0; } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source