// // BoomScrollLayer::ccTouchBegan from 0x100390660 to 0x100390728 (200 bytes) // // 2 xrefs: // > sub_100390730 @ 0x10039073c // > @ 0x100b2fbe8 // // 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 12:29:13 +0000 // char __fastcall BoomScrollLayer::ccTouchBegan(__int64 a1, __int64 a2) { __int64 v3; // rax __int64 v4; // [rsp-40h] [rbp-40h] BYREF timeb v5[3]; // [rsp-38h] [rbp-38h] BYREF if ( *(_BYTE *)(a1 + 628) ) return 0; cocos2d::CCTouch::getLocationInView((__int64)&v4, a2); v3 = cocos2d::CCDirector::sharedDirector(&v4, a2); cocos2d::CCDirector::convertToGL(v5, v3, &v4); sub_100278300(&v4, v5); if ( !sub_100278940((float *)(a1 + 512), (float *)&v4) || *(_QWORD *)(a1 + 472) ) return 0; *(_QWORD *)(a1 + 472) = a2; ftime(v5); *(double *)(a1 + 488) = (double)v5[0].millitm / 1000.0 + (double)SLODWORD(v5[0].time); *(_DWORD *)(a1 + 428) = v4; *(_DWORD *)(a1 + 460) = 0; return 1; }