// // EditorUI::offsetForKey from 0x1401269a0 to 0x140129059 (9913 bytes) // // 18 xrefs: // > EditorUI::onCreateObject @ 0x14010f777 // > EditorUI::onCreateObject @ 0x14010f7ed // > EditorUI::removeOffset @ 0x14012287c // > EditorUI::applyOffset @ 0x14012290c // > EditorUI::findSnapObject_1 @ 0x140123405 // > EditorUI::findSnapObject_1 @ 0x1401235f3 // > EditorUI::ccTouchEnded @ 0x14012499a // > EditorUI::createEdgeForObject @ 0x14012e968 // > EditorUI::createEdgeForObject @ 0x14012e995 // > EditorUI::createEdgeForObject @ 0x14012e9ca // > EditorUI::createEdgeForObject @ 0x14012e9ff // > EditorUI::createEdgeForObject @ 0x14012ea34 // > EditorUI::createEdgeForObject @ 0x14012ea69 // > EditorUI::createEdgeForObject @ 0x14012eaa0 // > EditorUI::createEdgeForObject @ 0x14012ead2 // > EditorUI::createRockBases @ 0x14012fcab // > EditorUI::createExtraObject @ 0x140132cbc // > @ 0x1406c9a14 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // local variable allocation has failed, the output may be wrong! cocos2d::CCPoint EditorUI::offsetForKey(EditorUI *a1, int a2) { int v2; // r8d cocos2d::CCPoint v3; // rbx cocos2d::CCPoint result; // rax float v5; // xmm2_4 int v6; // r8d int v7; // r8d int v8; // r8d v3 = *(cocos2d::CCPoint *)&a2; if ( v2 <= 277 ) { if ( v2 == 277 ) { LABEL_154: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 7.5, 0.0); return v3; } else { switch ( v2 ) { case 9: goto LABEL_90; case 15: goto LABEL_158; case 16: case 125: goto LABEL_120; case 17: case 21: case 178: goto LABEL_182; case 18: case 19: case 151: goto LABEL_149; case 20: case 49: case 114: goto LABEL_170; case 35: case 140: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -13.0); result = v3; break; case 39: case 198: case 205: case 217: goto LABEL_168; case 40: case 128: case 147: case 215: goto LABEL_148; case 41: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 19.5); result = v3; break; case 48: goto LABEL_156; case 61: case 135: case 243: case 244: goto LABEL_186; case 62: case 65: case 66: case 68: goto LABEL_190; case 64: goto LABEL_112; case 67: goto LABEL_143; case 103: case 145: case 153: case 179: case 199: case 218: goto LABEL_181; case 106: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 17.5); result = v3; break; case 107: goto LABEL_184; case 110: case 113: case 134: goto LABEL_189; case 115: goto LABEL_163; case 124: goto LABEL_13; case 126: goto LABEL_22; case 127: goto LABEL_178; case 152: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 0.0); result = v3; break; case 157: case 158: case 159: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -1.5); result = v3; break; case 170: case 171: case 172: case 174: case 176: case 192: case 194: case 197: goto LABEL_128; case 190: goto LABEL_183; case 227: goto LABEL_165; case 228: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -7.5, -7.5); result = v3; break; case 234: case 245: goto LABEL_154; default: goto LABEL_192; } } return result; } if ( v2 <= 503 ) { if ( v2 == 503 ) { LABEL_163: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -5.0); return v3; } else { switch ( v2 ) { case 291: case 295: case 301: case 307: case 311: case 317: case 323: case 327: case 329: case 333: case 339: case 345: case 351: case 355: case 364: case 367: case 372: case 484: case 493: goto LABEL_169; case 365: goto LABEL_91; case 368: case 407: goto LABEL_186; case 369: case 370: case 466: goto LABEL_148; case 373: goto LABEL_94; case 374: goto LABEL_95; case 392: case 393: case 458: case 459: goto LABEL_93; case 406: goto LABEL_182; case 408: goto LABEL_90; case 414: case 421: case 422: goto LABEL_168; case 419: case 420: goto LABEL_167; case 446: case 447: goto LABEL_187; case 448: case 449: case 452: goto LABEL_165; case 450: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 15.0); result = v3; break; case 451: goto LABEL_149; case 462: LABEL_13: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 0.5); result = v3; break; case 463: goto LABEL_120; case 464: goto LABEL_22; case 465: goto LABEL_178; case 468: goto LABEL_50; case 475: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -14.25); result = v3; break; default: goto LABEL_192; } } return result; } if ( v2 <= 763 ) { if ( v2 != 763 ) { switch ( v2 ) { case 504: goto LABEL_32; case 506: case 507: case 515: case 516: case 524: case 525: case 533: case 534: case 542: case 543: case 551: case 552: case 560: case 561: case 569: case 570: case 578: case 579: case 587: case 588: case 596: case 597: case 605: case 606: case 614: case 615: case 623: case 624: case 632: case 633: goto LABEL_164; case 508: case 512: case 517: case 521: case 526: case 530: case 535: case 539: case 544: case 548: case 553: case 557: case 562: case 566: case 571: case 575: case 580: case 584: case 589: case 593: case 598: case 602: case 607: case 611: case 616: case 620: case 625: case 629: case 634: case 638: goto LABEL_58; case 509: case 510: case 511: case 518: case 519: case 520: case 527: case 528: case 529: case 536: case 537: case 538: case 545: case 546: case 547: case 554: case 555: case 556: case 563: case 564: case 565: case 572: case 573: case 574: case 581: case 582: case 583: case 590: case 591: case 592: case 599: case 600: case 601: case 608: case 609: case 610: case 617: case 618: case 619: case 626: case 627: case 628: case 635: case 636: case 637: goto LABEL_57; case 513: case 522: case 531: case 540: case 549: case 558: case 567: case 576: case 585: case 594: case 603: case 612: case 621: case 630: case 639: goto LABEL_59; case 514: case 523: case 532: case 541: case 550: case 559: case 568: case 577: case 586: case 595: case 604: case 613: case 622: case 631: case 640: goto LABEL_60; case 652: case 666: case 674: case 682: case 684: case 686: case 688: case 690: case 692: case 694: case 696: case 698: case 700: case 702: case 704: case 706: case 708: case 710: case 712: case 714: case 716: case 727: case 729: case 731: case 733: goto LABEL_169; case 655: case 656: case 662: case 663: case 664: case 723: case 735: goto LABEL_154; case 667: case 668: case 719: goto LABEL_187; case 670: goto LABEL_98; case 720: case 721: goto LABEL_96; default: goto LABEL_192; } } goto LABEL_169; } if ( v2 <= 1024 ) { if ( v2 != 1024 ) { switch ( v2 ) { case 767: v5 = -2.5; goto LABEL_24; case 768: goto LABEL_92; case 769: case 770: case 967: case 968: goto LABEL_184; case 828: case 829: case 878: case 887: case 889: case 896: case 961: case 1015: goto LABEL_169; case 873: case 891: goto LABEL_154; case 902: case 950: case 987: goto LABEL_59; case 906: LABEL_22: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -5.5); result = v3; break; case 907: goto LABEL_188; case 908: case 909: case 941: goto LABEL_187; case 910: goto LABEL_157; case 919: case 942: case 943: case 944: case 980: case 981: goto LABEL_164; case 920: case 921: goto LABEL_30; case 923: goto LABEL_106; case 924: goto LABEL_123; case 939: goto LABEL_181; case 945: case 949: case 982: case 986: goto LABEL_58; case 946: case 947: case 948: case 983: case 984: case 985: goto LABEL_57; case 951: case 988: goto LABEL_60; case 991: case 992: goto LABEL_97; case 1009: goto LABEL_33; default: goto LABEL_192; } return result; } goto LABEL_164; } if ( v2 <= 1291 ) { if ( v2 == 1291 ) { v5 = -5.0; LABEL_24: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -7.5, v5); return v3; } else { switch ( v2 ) { case 1025: case 1063: case 1064: goto LABEL_164; case 1026: case 1030: case 1065: case 1069: goto LABEL_58; case 1027: case 1028: case 1029: case 1066: case 1067: case 1068: goto LABEL_57; case 1031: case 1070: goto LABEL_59; case 1032: case 1071: goto LABEL_60; case 1034: case 1038: case 1042: case 1044: case 1092: case 1108: case 1188: case 1199: case 1257: case 1259: goto LABEL_169; case 1046: case 1048: goto LABEL_90; case 1050: case 1051: case 1052: goto LABEL_170; case 1054: case 1079: case 1080: case 1081: case 1096: case 1097: case 1098: case 1111: goto LABEL_154; case 1154: goto LABEL_107; case 1202: goto LABEL_51; case 1220: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 12.0); result = v3; break; case 1260: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 15.75); result = v3; break; case 1262: LABEL_30: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 16.5); result = v3; break; case 1264: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 18.0); result = v3; break; case 1271: case 1272: LABEL_33: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 2.5, -2.5); result = v3; break; case 1273: case 1274: LABEL_32: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 5.0, -5.0); result = v3; break; default: goto LABEL_192; } } return result; } if ( v2 <= 1529 ) { if ( v2 != 1529 ) { switch ( v2 ) { case 1292: case 1327: goto LABEL_167; case 1293: goto LABEL_70; case 1306: case 1317: case 1339: case 1342: case 1345: goto LABEL_169; case 1328: goto LABEL_184; case 1332: goto LABEL_90; case 1340: LABEL_50: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 14.25); result = v3; break; case 1343: LABEL_51: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 13.5); result = v3; break; case 1356: case 1367: case 1368: case 1395: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 9.0, 0.0); result = v3; break; case 1357: case 1358: case 1369: case 1370: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -7.0, 0.0); result = v3; break; case 1359: case 1360: case 1371: case 1372: case 1473: case 1496: goto LABEL_182; case 1361: case 1362: case 1373: case 1374: goto LABEL_150; case 1363: case 1375: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 9.0, -8.0); result = v3; break; case 1364: case 1376: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -7.0, -8.0); result = v3; break; case 1365: case 1377: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 9.0, 8.0); result = v3; break; case 1366: case 1378: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -7.0, 8.0); result = v3; break; case 1391: goto LABEL_161; case 1392: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -14.0, 0.0); result = v3; break; case 1393: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 14.5); result = v3; break; case 1394: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 14.5, 0.0); result = v3; break; case 1471: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 9.5); result = v3; break; case 1472: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -13.6, 9.5); result = v3; break; case 1507: v5 = 9.5; goto LABEL_24; default: goto LABEL_192; } return result; } LABEL_164: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -10.0); return v3; } if ( v2 <= 1621 ) { if ( v2 == 1621 ) { LABEL_71: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 10.0, 0.0); return v3; } else { switch ( v2 ) { case 1530: case 1538: case 1539: case 1552: case 1553: case 1591: case 1593: goto LABEL_164; case 1531: case 1535: case 1554: case 1558: LABEL_58: v5 = -10.0; goto LABEL_24; case 1532: case 1533: case 1534: case 1540: case 1555: case 1556: case 1557: LABEL_57: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -10.0, -10.0); result = v3; break; case 1536: case 1559: LABEL_59: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 10.0, 5.0); result = v3; break; case 1537: case 1560: LABEL_60: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -5.0, 5.0); result = v3; break; case 1592: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 3.75, 0.0); result = v3; break; case 1617: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -11.0, 9.5); result = v3; break; default: goto LABEL_192; } } return result; } if ( v2 <= 2098 ) { if ( v2 == 2098 ) { LABEL_103: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -11.5); return v3; } else { switch ( v2 ) { case 1622: case 1623: case 1624: case 1653: case 1654: case 1655: case 1656: goto LABEL_71; case 1625: case 1626: case 1657: case 1658: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -11.0, 0.0); result = v3; break; case 1627: case 1628: case 1659: case 1660: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -11.5, 0.0); result = v3; break; case 1629: case 1630: case 1661: case 1662: case 1725: case 1726: case 1890: goto LABEL_168; case 1631: case 1632: case 1663: case 1664: goto LABEL_157; case 1633: case 1634: case 1635: case 1636: case 1665: case 1666: case 1667: case 1668: goto LABEL_161; case 1637: case 1669: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 13.0, -12.5); result = v3; break; case 1638: case 1670: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -12.5, -9.5); result = v3; break; case 1639: case 1671: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 11.5, 11.75); result = v3; break; case 1640: case 1672: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -13.5, 12.0); result = v3; break; case 1641: case 1673: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 11.0, -9.5); result = v3; break; case 1642: case 1674: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -13.5, -12.5); result = v3; break; case 1643: case 1675: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 13.0, 12.0); result = v3; break; case 1644: case 1676: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -12.25, 11.0); result = v3; break; case 1645: case 1677: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 11.5, -12.5); result = v3; break; case 1646: case 1678: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -12.5, -10.5); result = v3; break; case 1647: case 1679: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 13.5, 13.5); result = v3; break; case 1648: case 1680: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -13.25, 11.0); result = v3; break; case 1649: case 1681: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 13.0, -11.0); result = v3; break; case 1650: case 1682: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -12.5, -12.25); result = v3; break; case 1651: case 1683: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 12.0, 11.0); result = v3; break; case 1652: case 1684: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -13.75, 13.5); result = v3; break; case 1711: case 1712: case 1713: case 1714: case 1719: case 1720: case 1721: case 1722: goto LABEL_186; case 1715: LABEL_90: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -12.5); result = v3; break; case 1716: LABEL_91: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -14.0); result = v3; break; case 1718: case 1724: case 1744: case 1746: case 1748: case 1750: case 1773: case 1774: case 1775: case 1776: case 1785: case 1786: case 1787: case 1788: case 1789: case 1790: case 1791: case 1792: case 1794: case 1796: case 1800: case 1802: case 1804: case 1806: case 1808: case 1810: case 1900: case 1907: goto LABEL_169; case 1727: LABEL_92: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 7.5, -9.0); result = v3; break; case 1728: case 1729: case 1730: case 1737: goto LABEL_187; case 1731: LABEL_96: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -11.5, -11.5); result = v3; break; case 1733: LABEL_97: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 11.5, -11.5); result = v3; break; case 1739: LABEL_98: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 11.25, -11.25); result = v3; break; case 1757: LABEL_70: v5 = 0.0; goto LABEL_24; case 1758: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -7.25, 7.0); result = v3; break; case 1759: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 10.5, 9.0); result = v3; break; case 1760: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -3.5, 3.5); result = v3; break; case 1761: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 13.0, 4.25); result = v3; break; case 1762: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -10.5, 10.5); result = v3; break; case 1763: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 8.5, 13.25); result = v3; break; case 1891: goto LABEL_181; case 1892: LABEL_93: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -2.25); result = v3; break; case 1893: case 1896: case 1897: case 1898: goto LABEL_190; case 1895: goto LABEL_112; case 1903: case 1904: case 1905: goto LABEL_148; case 1908: LABEL_94: v5 = 8.5; goto LABEL_24; case 1909: LABEL_95: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.5, 8.5); result = v3; break; case 1919: goto LABEL_163; case 1920: goto LABEL_178; case 1921: goto LABEL_167; case 1938: goto LABEL_170; case 1939: goto LABEL_120; default: goto LABEL_192; } } return result; } if ( v2 <= 2302 ) { if ( v2 == 2302 ) { LABEL_112: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -8.0, 8.0); return v3; } else { switch ( v2 ) { case 2099: goto LABEL_103; case 2100: case 2133: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -5.75); result = v3; break; case 2101: goto LABEL_188; case 2102: case 2210: goto LABEL_157; case 2107: goto LABEL_118; case 2113: goto LABEL_123; case 2114: goto LABEL_128; case 2117: case 2168: goto LABEL_124; case 2118: case 2134: case 2244: goto LABEL_165; case 2119: case 2182: goto LABEL_187; case 2122: goto LABEL_170; case 2128: case 2131: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 11.25); result = v3; break; case 2130: goto LABEL_183; case 2135: case 2136: case 2137: case 2138: goto LABEL_181; case 2140: case 2165: goto LABEL_156; case 2143: case 2169: case 2173: goto LABEL_160; case 2149: case 2151: case 2191: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 10.5); result = v3; break; case 2150: case 2208: goto LABEL_184; case 2166: LABEL_106: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 11.5); result = v3; break; case 2167: case 2192: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 4.75); result = v3; break; case 2172: goto LABEL_120; case 2174: LABEL_107: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 6.75); result = v3; break; case 2179: case 2249: case 2250: goto LABEL_166; case 2206: case 2243: goto LABEL_182; case 2213: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 1.75); result = v3; break; case 2220: case 2255: goto LABEL_149; case 2221: goto LABEL_191; case 2238: goto LABEL_169; case 2242: goto LABEL_168; case 2245: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -1.0, -14.0); result = v3; break; case 2278: case 2279: case 2280: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 14.75); result = v3; break; default: goto LABEL_192; } } return result; } if ( v2 <= 2566 ) { if ( v2 != 2566 ) { switch ( v2 ) { case 2303: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 8.0, 8.0); result = v3; break; case 2304: case 2305: case 2306: case 2376: goto LABEL_148; case 2307: case 2308: case 2309: case 2343: case 2388: case 2459: goto LABEL_187; case 2310: case 2332: case 2538: goto LABEL_170; case 2311: goto LABEL_149; case 2315: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -5.25); result = v3; break; case 2316: goto LABEL_155; case 2317: case 2321: LABEL_128: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 4.5); result = v3; break; case 2318: case 2319: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 3.5); result = v3; break; case 2320: case 2371: case 2372: goto LABEL_189; case 2322: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 9.75); result = v3; break; case 2323: goto LABEL_183; case 2324: case 2325: case 2365: case 2536: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -8.5); result = v3; break; case 2326: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -1.75); result = v3; break; case 2327: case 2366: goto LABEL_165; case 2328: case 2524: case 2525: goto LABEL_185; case 2329: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -7.75); result = v3; break; case 2330: case 2335: case 2341: case 2408: goto LABEL_168; case 2333: case 2367: goto LABEL_167; case 2334: case 2390: goto LABEL_163; case 2342: goto LABEL_166; case 2344: case 2345: goto LABEL_186; case 2355: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 3.0, -7.0); result = v3; break; case 2356: goto LABEL_180; case 2357: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 6.25); result = v3; break; case 2358: goto LABEL_190; case 2369: case 2370: LABEL_120: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -1.0); result = v3; break; case 2375: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 13.0); result = v3; break; case 2377: goto LABEL_143; case 2386: goto LABEL_157; case 2387: LABEL_118: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -11.25); result = v3; break; case 2409: case 2410: goto LABEL_164; case 2423: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -10.25); result = v3; break; case 2424: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -6.75); result = v3; break; case 2473: goto LABEL_169; case 2508: case 2509: case 2510: LABEL_123: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 5.5); result = v3; break; case 2534: case 2535: goto LABEL_162; case 2537: LABEL_124: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -4.75); result = v3; break; case 2539: goto LABEL_161; default: goto LABEL_192; } return result; } LABEL_169: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 15.0, 0.0); return v3; } if ( v2 <= 2708 ) { if ( v2 != 2708 ) { switch ( v2 ) { case 2567: goto LABEL_169; case 2622: goto LABEL_159; case 2623: goto LABEL_183; case 2624: goto LABEL_184; case 2625: goto LABEL_158; case 2629: goto LABEL_180; case 2693: goto LABEL_182; default: goto LABEL_192; } } LABEL_139: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -15.25); return v3; } if ( v2 <= 3118 ) { if ( v2 != 3118 ) { switch ( v2 ) { case 2709: case 2710: case 2711: case 2712: case 2713: case 2714: case 2715: case 2716: case 2717: case 2718: case 2719: case 2720: case 2721: case 2722: case 2723: case 2724: case 2725: case 2726: case 2727: case 2728: case 2729: case 2730: case 2731: case 2764: case 2765: case 2766: case 2767: case 2768: case 2769: case 2770: case 2773: goto LABEL_139; case 2732: case 2733: case 2734: case 2735: case 2736: case 2737: case 2738: case 2739: case 2740: case 2741: case 2742: case 2743: case 2776: case 2777: case 2778: case 2779: case 2780: case 2781: case 2782: case 2783: case 2784: case 2785: case 2786: case 2787: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, -15.25, 0.0); result = v3; break; case 2744: case 2745: case 2746: case 2747: case 2748: case 2749: case 2750: case 2751: case 2788: case 2789: case 2790: case 2791: case 2792: case 2793: case 2794: case 2795: case 2927: case 2928: case 2929: case 2930: case 2931: case 2932: case 2933: case 2934: case 2935: case 2936: case 2937: case 2938: case 2939: case 2940: case 2941: case 2942: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 15.25); result = v3; break; case 2752: case 2753: case 2754: case 2755: case 2756: case 2757: case 2758: case 2759: case 2760: case 2761: case 2762: case 2763: case 2796: case 2797: case 2798: case 2799: case 2800: case 2801: case 2802: case 2803: case 2804: case 2805: case 2806: case 2807: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 15.25, 0.0); result = v3; break; case 2897: goto LABEL_169; case 3000: case 3001: case 3002: goto LABEL_164; case 3005: LABEL_143: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -12.0); result = v3; break; default: goto LABEL_192; } return result; } LABEL_182: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -8.0); return v3; } if ( v2 > 3390 ) { if ( v2 > 3794 ) { if ( v2 > 4071 ) { switch ( v2 ) { case 4076: LABEL_191: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 6.5); result = v3; break; case 4085: case 4086: LABEL_189: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 1.0); result = v3; break; case 4087: LABEL_190: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 7.0); result = v3; break; case 4234: LABEL_185: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -6.5); result = v3; break; case 4235: LABEL_186: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -11.0); result = v3; break; case 4236: LABEL_187: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -7.5); result = v3; break; case 4237: LABEL_188: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -4.5); result = v3; break; case 4288: case 4289: LABEL_184: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 3.0); result = v3; break; case 4300: LABEL_183: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 9.0); result = v3; break; case 4323: case 4324: case 4325: LABEL_180: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 5.0); result = v3; break; case 4326: goto LABEL_181; case 4327: case 4328: goto LABEL_182; default: goto LABEL_192; } } else { if ( v2 == 4071 ) { LABEL_178: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -7.0); return v3; } v6 = v2 - 3795; if ( !v6 ) { LABEL_181: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -6.0); return v3; } v7 = v6 - 1; if ( !v7 ) goto LABEL_182; v8 = v7 - 1; if ( v8 && (unsigned int)(v8 - 1) > 1 ) { LABEL_192: cocos2d::CCPoint::CCPoint(*(cocos2d::CCPoint **)&a2); return v3; } else { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 1.5); return v3; } } } else if ( v2 == 3794 ) { LABEL_170: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -2.0); return v3; } else { switch ( v2 ) { case 3391: case 3392: case 3444: case 3484: goto LABEL_158; case 3393: goto LABEL_190; case 3394: case 3395: case 3396: case 3397: case 3398: case 3399: case 3400: case 3401: case 3424: LABEL_156: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 2.0); result = v3; break; case 3402: case 3404: LABEL_155: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -9.25); result = v3; break; case 3403: case 3405: case 3406: case 3414: case 3415: case 3416: case 3420: case 3421: case 3460: goto LABEL_164; case 3407: case 3408: goto LABEL_178; case 3412: case 3413: case 3441: LABEL_157: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -9.5); result = v3; break; case 3417: case 3418: case 3419: case 3436: LABEL_168: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -9.0); result = v3; break; case 3422: case 3458: case 3459: goto LABEL_186; case 3423: goto LABEL_184; case 3437: case 3463: LABEL_165: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -4.0); result = v3; break; case 3438: case 3461: case 3479: goto LABEL_187; case 3439: case 3440: goto LABEL_163; case 3442: goto LABEL_185; case 3445: case 3454: case 3483: LABEL_161: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 10.0); result = v3; break; case 3447: LABEL_159: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 11.0); result = v3; break; case 3450: LABEL_162: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 2.5); result = v3; break; case 3452: LABEL_160: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 8.5); result = v3; break; case 3462: case 3477: goto LABEL_181; case 3476: LABEL_166: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -3.0); result = v3; break; case 3478: case 3482: goto LABEL_170; case 3480: goto LABEL_188; case 3481: LABEL_167: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -2.5); result = v3; break; case 3540: goto LABEL_169; case 3553: case 3554: case 3558: case 3559: case 3560: case 3561: case 3562: goto LABEL_154; default: goto LABEL_192; } } } else if ( v2 == 3390 ) { LABEL_158: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 6.0); return v3; } else { switch ( v2 ) { case 3132: case 3133: case 3134: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, -10.5); result = v3; break; case 3135: goto LABEL_184; case 3137: LABEL_148: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 8.0); result = v3; break; case 3138: goto LABEL_182; case 3139: case 3337: case 3378: goto LABEL_166; case 3201: LABEL_149: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 4.0); result = v3; break; case 3202: case 3293: case 3294: case 3295: case 3336: goto LABEL_181; case 3203: case 3292: goto LABEL_165; case 3204: case 3313: case 3314: goto LABEL_158; case 3205: LABEL_150: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, 0.0, 7.5); result = v3; break; case 3296: goto LABEL_164; case 3334: goto LABEL_162; case 3379: goto LABEL_183; default: goto LABEL_192; } } return result; }