// // ScrollingLayer::ccTouchBegan from 0x140083cd0 to 0x140083db7 (231 bytes) // // 2 xrefs: // > @ 0x140712ca0 // > @ 0x1409123e0 // // This function is hookable on this platform (idp: pc, 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 11:25:56 +0000 // char __fastcall ScrollingLayer::ccTouchBegan(__int64 a1, __int64 a2) { __int64 v4; // rax __int64 v5; // rax _BYTE v7[24]; // [rsp+20h] [rbp-18h] BYREF char v8; // [rsp+40h] [rbp+8h] BYREF char v9; // [rsp+58h] [rbp+20h] BYREF if ( !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 320) + 344LL))(a1 - 320) ) return 0; ScrollingLayer::getViewRect(a1 - 320, (cocos2d::CCRect *)v7); cocos2d::CCTouch::getLocationInView(a2, &v8); v4 = cocos2d::CCDirector::sharedDirector(); v5 = cocos2d::CCDirector::convertToGL(v4, &v9, &v8); cocos2d::CCPoint::operator=(&v8, v5); if ( *(_DWORD *)(a1 + 268) != -1 || !cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v7, (const struct cocos2d::CCPoint *)&v8) ) { return 0; } *(_DWORD *)(a1 + 268) = *(_DWORD *)(a2 + 56); cocos2d::CCPoint::operator=(a1 + 240, &v8); cocos2d::CCPoint::operator=(a1 + 248, a1 + 240); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source