// // ScrollingLayer::ccTouchBegan from 0x3e750c to 0x3e75a4 (152 bytes) // // 1 xrefs: // > `non-virtual thunk to'ScrollingLayer::ccTouchBegan @ 0x3e75ac // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:47:05 +0000 // int __fastcall ScrollingLayer::ccTouchBegan(_DWORD *a1, int a2) { int v4; // r5 cocos2d::CCDirector *LocationInView; // r0 const cocos2d::CCPoint *v6; // r0 _BYTE v8[8]; // [sp+4h] [bp-28h] BYREF _BYTE v9[8]; // [sp+Ch] [bp-20h] BYREF _BYTE v10[16]; // [sp+14h] [bp-18h] BYREF v4 = (*(int (__fastcall **)(_DWORD *))(*a1 + 176))(a1); if ( v4 ) { ScrollingLayer::getViewRect((ScrollingLayer *)v10, (int)a1); LocationInView = (cocos2d::CCDirector *)cocos2d::CCTouch::getLocationInView((cocos2d::CCTouch *)v8); v6 = (const cocos2d::CCPoint *)cocos2d::CCDirector::sharedDirector(LocationInView); cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)v9, v6); cocos2d::CCPoint::operator=(v8, v9); if ( a1[121] == -1 && (v4 = cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v10, (const cocos2d::CCPoint *)v8)) != 0 ) { a1[121] = *(_DWORD *)(a2 + 52); cocos2d::CCPoint::operator=(a1 + 114, v8); cocos2d::CCPoint::operator=(a1 + 116, a1 + 114); } else { return 0; } } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source