// // EditorUI::swipeToPosition from 0x100160f30 to 0x100161008 (216 bytes) // // 3 xrefs: // > EditorUI::finishTouchDelay @ 0x10016107c // > EditorUI::finishTouchDelay @ 0x100161098 // > EditorUI::ccTouchMoved @ 0x100161814 // // 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 10:59:46 +0000 // __int64 __fastcall EditorUI::swipeToPosition(__int64 a1, double *a2) { double v2; // x29 double v3; // x30 __int64 v7; // x0 double v8; // d0 double v9; // d0 __int64 v10; // [xsp+0h] [xbp-30h] BYREF double v11[5]; // [xsp+8h] [xbp-28h] BYREF if ( (*(_BYTE *)(a1 + 688) & 1) != 0 ) return 0; v11[3] = v2; v11[4] = v3; if ( (*(_BYTE *)(a1 + 860) & 1) == 0 ) { v7 = cocos2d::CCDirector::sharedDirector(a1); if ( (*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 192LL))(v7) + 128) & 1) == 0 && *(_BYTE *)(a1 + 1568) != 1 ) { return 0; } } if ( *(_DWORD *)(a1 + 1436) == 3 ) { sub_10002630C((_QWORD *)(a1 + 1456), a2); } else { v8 = sub_1000262F4(&v10, a2); EditorUI::getGridSnappedPos(v11, a1, &v10, v8); sub_10002630C((_QWORD *)(a1 + 872), v11); v9 = sub_1000262F4(v11, a2); EditorUI::clickOnPosition(a1, v11, v9); } cocos2d::CCNode::stopActionByTag(a1, 123); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source