// // UIPOptionsLayer::ccTouchBegan from 0x1403ac290 to 0x1403ac39e (270 bytes) // // 2 xrefs: // > @ 0x14077c4d8 // > @ 0x140923a8c // // 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:31:21 +0000 // char __fastcall UIPOptionsLayer::ccTouchBegan(__int64 a1, __int64 a2) { const struct cocos2d::CCPoint *v4; // rax __int64 v5; // rax _BYTE v7[8]; // [rsp+30h] [rbp-28h] BYREF _BYTE v8[32]; // [rsp+38h] [rbp-20h] BYREF char v9; // [rsp+60h] [rbp+8h] BYREF float v10; // [rsp+78h] [rbp+20h] BYREF float v11; // [rsp+7Ch] [rbp+24h] cocos2d::CCTouch::getLocation(a2, v7); cocos2d::CCNode::convertToNodeSpace(a1 - 320, &v9, v7); if ( *(int *)(a1 + 680) < 0 ) { v4 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 688) + 200LL))(*(_QWORD *)(a1 + 688)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v10, v4); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, v10 - 70.0, v11 - 25.0, 140.0, 50.0); if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v8, (const struct cocos2d::CCPoint *)&v9) ) { *(_DWORD *)(a1 + 680) = *(_DWORD *)(a2 + 56); cocos2d::CCPoint::operator=(a1 + 696, &v9); v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 688) + 200LL))(*(_QWORD *)(a1 + 688)); cocos2d::CCPoint::operator-(&v9, &v10, v5); cocos2d::CCPoint::operator=(a1 + 704, &v10); } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source