Skip to content

Commit 3a797ea

Browse files
committed
EditorUI::edgeForObject
1 parent eab5fc3 commit 3a797ea

File tree

1 file changed

+91
-1
lines changed

1 file changed

+91
-1
lines changed

bindings/2.2074/GeometryDash.bro

Lines changed: 91 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6705,7 +6705,97 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
67056705
}
67066706
void doPasteObjects(bool withColor) = ios 0x3e6e5c, win 0x111a90, m1 0x392cc, imac 0x3e820;
67076707
void dynamicGroupUpdate(bool reGroup) = win 0x117000, imac 0x44e10, m1 0x3ed20, ios 0x3eafa8;
6708-
int edgeForObject(int id, int type) = m1 0x52b4b0, imac 0x5fc790, ios 0x7c578;
6708+
int edgeForObject(int id, int type) = win inline, m1 0x52b4b0, imac 0x5fc790, ios 0x7c578 {
6709+
if (id == 1348) {
6710+
switch (type) {
6711+
case 0: return 1359;
6712+
case 3: return 1395;
6713+
case 7: return 1363;
6714+
}
6715+
}
6716+
else if (id == 1349) {
6717+
switch (type) {
6718+
case 0: return 1360;
6719+
case 1: return 1357;
6720+
case 4: return 1364;
6721+
}
6722+
}
6723+
else if (id == 1350) {
6724+
switch (type) {
6725+
case 2: return 1361;
6726+
case 3: return 1356;
6727+
case 6: return 1365;
6728+
}
6729+
}
6730+
else if (id == 1351) {
6731+
switch (type) {
6732+
case 1: return 1358;
6733+
case 2: return 1362;
6734+
case 5: return 1366;
6735+
}
6736+
}
6737+
else if (id == 1431 || id == 1432 || id == 1433) {
6738+
switch (type) {
6739+
case 0: return 1435;
6740+
case 1: return 1436;
6741+
case 2: return 1437;
6742+
case 3: return 1434;
6743+
case 4: return 1439;
6744+
case 5: return 1441;
6745+
case 6: return 1440;
6746+
case 7: return 1438;
6747+
}
6748+
}
6749+
else if (id == 1461) {
6750+
switch (type) {
6751+
case 0: return 1629;
6752+
case 1: return 1625;
6753+
case 2: return 1633;
6754+
case 3: return 1621;
6755+
case 4: return 1638;
6756+
case 5: return 1640;
6757+
case 6: return 1639;
6758+
case 7: return 1637;
6759+
}
6760+
}
6761+
else if (id == 1462) {
6762+
switch (type) {
6763+
case 0: return 1630;
6764+
case 1: return 1627;
6765+
case 2: return 1634;
6766+
case 3: return 1623;
6767+
case 4: return 1642;
6768+
case 5: return 1644;
6769+
case 6: return 1643;
6770+
case 7: return 1641;
6771+
}
6772+
}
6773+
else if (id == 1463) {
6774+
switch (type) {
6775+
case 0: return 1631;
6776+
case 1: return 1626;
6777+
case 2: return 1635;
6778+
case 3: return 1622;
6779+
case 4: return 1646;
6780+
case 5: return 1648;
6781+
case 6: return 1647;
6782+
case 7: return 1645;
6783+
}
6784+
}
6785+
else if (id == 1464) {
6786+
switch (type) {
6787+
case 0: return 1632;
6788+
case 1: return 1628;
6789+
case 2: return 1636;
6790+
case 3: return 1624;
6791+
case 4: return 1650;
6792+
case 5: return 1652;
6793+
case 6: return 1651;
6794+
case 7: return 1649;
6795+
}
6796+
}
6797+
return 0;
6798+
}
67096799
bool editButton2Usable() = win 0x118b40, m1 0x4238c, imac 0x492e0, ios 0x3ed220;
67106800
bool editButtonUsable() = win 0x1182f0, imac 0x48580, m1 0x41e60, ios 0x3eccac;
67116801
void editColor() = win 0x11d3b0, m1 0x37aac, imac 0x3ceb0, ios 0x3e5e58;

0 commit comments

Comments
 (0)