// // GameObject::setupSpriteSize from 0x1401a36a0 to 0x1401a3f2c (2188 bytes) // // 1 xrefs: // > GameObject::customSetup @ 0x1401946af // // 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 // void GameObject::setupSpriteSize(GameObject *a1) { int m_objectID; // eax m_objectID = a1->m_objectID; if ( m_objectID <= 475 ) { if ( m_objectID != 475 ) { switch ( m_objectID ) { case 1: case 2: case 3: case 4: case 6: case 7: case 8: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 36: case 56: case 57: case 58: case 59: case 63: case 69: case 70: case 71: case 72: case 74: case 75: case 76: case 77: case 78: case 81: case 82: case 83: case 84: case 90: case 91: case 92: case 93: case 94: case 95: case 96: case 105: case 116: case 117: case 118: case 119: case 121: case 122: case 141: case 143: case 144: case 146: case 160: case 161: case 162: case 163: case 165: case 166: case 167: case 168: case 169: case 173: case 175: case 177: case 207: case 208: case 209: case 210: case 212: case 213: case 216: case 247: case 248: case 249: case 250: case 252: case 253: case 254: case 255: case 256: case 257: case 258: case 260: case 261: case 263: case 264: case 265: case 267: case 268: case 269: case 270: case 271: case 272: case 274: case 275: case 289: case 294: case 299: case 305: case 309: case 315: case 321: case 326: case 331: case 337: case 343: case 349: case 353: case 363: case 366: case 371: case 467: case 469: case 470: case 471: goto LABEL_105; case 9: goto LABEL_61; case 10: case 11: a1->m_width = 25.0; a1->m_height = 75.0; break; case 12: case 13: case 47: case 111: goto LABEL_52; case 34: a1->m_width = 37.0; a1->m_height = 23.0; break; case 35: a1->m_width = 25.0; a1->m_height = 4.0; break; case 39: case 40: case 147: case 205: case 215: case 217: case 369: case 370: goto LABEL_100; case 45: case 46: a1->m_width = 44.0; a1->m_height = 92.0; break; case 55: case 179: a1->m_width = 20.0; a1->m_height = 20.0; break; case 61: case 243: case 446: goto LABEL_75; case 62: case 65: case 66: case 68: case 178: a1->m_height = 16.0; a1->m_width = 30.0; break; case 64: case 195: case 206: case 220: goto LABEL_102; case 67: goto LABEL_40; case 88: goto LABEL_62; case 89: goto LABEL_63; case 98: case 142: goto LABEL_64; case 99: case 101: a1->m_width = 31.0; a1->m_height = 90.0; break; case 103: case 145: case 218: a1->m_width = 20.0; a1->m_height = 19.0; break; case 135: goto LABEL_65; case 140: a1->m_width = 25.0; a1->m_height = 5.0; break; case 170: case 171: case 172: case 174: case 192: a1->m_height = 21.0; a1->m_width = 30.0; break; case 176: a1->m_width = 14.0; a1->m_height = 21.0; break; case 183: case 186: case 397: case 399: goto LABEL_71; case 184: a1->m_width = 60.0; a1->m_height = 53.0; break; case 185: a1->m_width = 10.0; a1->m_height = 40.0; break; case 187: goto LABEL_36; case 188: goto LABEL_37; case 194: a1->m_width = 21.0; a1->m_height = 21.0; break; case 196: case 204: case 219: goto LABEL_103; case 197: a1->m_width = 22.0; a1->m_height = 21.0; break; case 200: a1->m_width = 35.0; a1->m_height = 44.0; break; case 201: a1->m_width = 33.0; a1->m_height = 56.0; break; case 202: a1->m_width = 51.0; a1->m_height = 56.0; break; case 203: a1->m_width = 65.0; a1->m_height = 56.0; break; case 244: goto LABEL_69; case 286: case 287: a1->m_width = 41.0; a1->m_height = 91.0; break; case 291: case 295: case 301: case 307: case 311: case 317: case 323: case 327: case 333: case 339: case 345: case 351: case 355: case 364: case 367: case 372: goto LABEL_101; case 328: a1->m_width = 22.0; a1->m_height = 22.0; break; case 329: a1->m_width = 43.0; a1->m_height = 22.0; break; case 365: goto LABEL_77; case 368: goto LABEL_83; case 392: case 458: case 459: a1->m_width = 13.0; a1->m_height = 12.0; break; case 398: goto LABEL_70; case 421: goto LABEL_72; case 422: goto LABEL_73; case 447: goto LABEL_76; case 468: goto LABEL_46; default: return; } return; } LABEL_46: a1->m_height = 1.5; a1->m_width = 30.0; return; } if ( m_objectID <= 740 ) { if ( m_objectID == 740 ) { LABEL_71: a1->m_width = 43.0; a1->m_height = 43.0; } else { switch ( m_objectID ) { case 483: case 492: case 651: case 665: case 673: case 709: case 711: case 726: case 728: goto LABEL_105; case 484: case 493: case 652: case 666: case 674: case 710: case 712: case 727: case 729: goto LABEL_101; case 660: goto LABEL_52; case 661: goto LABEL_102; case 662: case 663: case 664: case 667: goto LABEL_77; case 675: goto LABEL_78; case 676: goto LABEL_79; case 677: goto LABEL_80; case 678: a1->m_width = 40.0; a1->m_height = 41.0; break; case 679: a1->m_width = 52.0; a1->m_height = 54.0; break; case 680: a1->m_width = 36.0; a1->m_height = 36.0; break; case 720: goto LABEL_82; default: return; } } return; } if ( m_objectID <= 1006 ) { if ( m_objectID != 1006 ) { switch ( m_objectID ) { case 741: LABEL_36: a1->m_width = 61.0; a1->m_height = 61.0; break; case 742: LABEL_37: a1->m_width = 42.0; a1->m_height = 42.0; break; case 744: case 886: case 899: case 900: case 901: case 915: case 989: goto LABEL_105; case 745: goto LABEL_52; case 747: a1->m_width = 25.0; a1->m_height = 90.0; break; case 768: goto LABEL_74; case 887: goto LABEL_101; case 918: a1->m_width = 48.0; a1->m_height = 48.0; break; case 919: LABEL_40: a1->m_width = 25.0; a1->m_height = 6.0; break; case 991: goto LABEL_82; default: return; } return; } goto LABEL_105; } if ( m_objectID <= 1260 ) { if ( m_objectID == 1260 ) goto LABEL_46; switch ( m_objectID ) { case 1007: case 1022: case 1049: case 1203: case 1204: case 1209: case 1210: case 1221: case 1222: case 1226: goto LABEL_105; case 1154: a1->m_width = 15.0; a1->m_height = 1.5; break; case 1155: case 1156: case 1157: case 1208: goto LABEL_102; case 1202: goto LABEL_54; case 1220: goto LABEL_55; case 1227: a1->m_height = 7.0; a1->m_width = 30.0; break; default: return; } return; } if ( m_objectID <= 1520 ) { if ( m_objectID != 1520 ) { switch ( m_objectID ) { case 1262: LABEL_54: a1->m_height = 3.0; a1->m_width = 30.0; break; case 1264: LABEL_55: a1->m_height = 6.0; a1->m_width = 30.0; break; case 1268: case 1330: case 1333: case 1338: case 1341: case 1344: case 1346: case 1347: goto LABEL_105; case 1275: goto LABEL_93; case 1327: goto LABEL_82; case 1328: a1->m_width = 8.0; a1->m_height = 15.0; break; case 1329: goto LABEL_64; case 1331: LABEL_52: a1->m_width = 34.0; a1->m_height = 86.0; break; case 1332: a1->m_width = 29.0; a1->m_height = 7.0; break; case 1334: a1->m_width = 69.0; a1->m_height = 56.0; break; case 1339: case 1342: case 1345: goto LABEL_101; case 1340: a1->m_width = 27.0; a1->m_height = 2.0; break; case 1343: a1->m_width = 25.0; a1->m_height = 3.0; break; default: return; } return; } goto LABEL_105; } if ( m_objectID > 1811 ) { if ( m_objectID > 3610 ) { if ( m_objectID != 3611 ) return; goto LABEL_105; } if ( m_objectID != 3610 ) { switch ( m_objectID ) { case 1812: case 1813: case 1814: case 1815: case 1816: case 1817: case 1818: case 1819: case 1829: case 1859: case 1906: goto LABEL_105; case 1903: case 1904: case 1905: LABEL_100: a1->m_height = 14.0; a1->m_width = 30.0; break; case 1907: LABEL_101: a1->m_width = 60.0; a1->m_height = 30.0; break; case 1910: LABEL_102: a1->m_width = 15.0; a1->m_height = 15.0; break; case 1911: LABEL_103: a1->m_width = 15.0; a1->m_height = 8.0; break; default: return; } return; } LABEL_105: a1->m_height = 30.0; a1->m_width = 30.0; return; } if ( m_objectID == 1811 ) goto LABEL_105; switch ( m_objectID ) { case 1561: case 1722: LABEL_83: a1->m_height = 10.0; a1->m_width = 30.0; break; case 1562: a1->m_height = 2.0; a1->m_width = 30.0; break; case 1563: a1->m_width = 15.0; a1->m_height = 2.0; break; case 1564: case 1566: a1->m_width = 12.0; a1->m_height = 12.0; break; case 1565: a1->m_width = 17.0; a1->m_height = 17.0; break; case 1567: a1->m_width = 15.0; a1->m_height = 10.0; break; case 1568: a1->m_width = 62.0; a1->m_height = 32.0; break; case 1569: case 1620: a1->m_width = 32.0; a1->m_height = 32.0; break; case 1582: a1->m_width = 27.0; a1->m_height = 26.0; break; case 1583: a1->m_width = 31.0; a1->m_height = 23.0; break; case 1584: case 1731: case 1733: LABEL_82: a1->m_width = 8.0; a1->m_height = 8.0; break; case 1585: case 1595: case 1611: case 1612: case 1613: case 1616: case 1704: case 1717: case 1723: case 1732: case 1743: case 1745: case 1747: case 1749: case 1751: case 1755: goto LABEL_105; case 1587: case 1589: case 1598: case 1614: LABEL_93: a1->m_width = 25.0; a1->m_height = 20.0; break; case 1619: a1->m_width = 49.0; a1->m_height = 39.0; break; case 1701: a1->m_width = 20.0; a1->m_height = 28.0; break; case 1702: a1->m_width = 15.0; a1->m_height = 29.0; break; case 1703: a1->m_width = 13.0; a1->m_height = 22.0; break; case 1705: LABEL_62: a1->m_width = 44.0; a1->m_height = 85.0; break; case 1706: LABEL_63: a1->m_width = 60.0; a1->m_height = 60.0; break; case 1707: LABEL_64: a1->m_width = 40.0; a1->m_height = 40.0; break; case 1708: case 1710: goto LABEL_71; case 1709: LABEL_70: a1->m_width = 55.0; a1->m_height = 63.0; break; case 1711: LABEL_65: a1->m_width = 47.0; a1->m_height = 50.0; break; case 1712: a1->m_width = 45.0; a1->m_height = 56.0; break; case 1713: a1->m_width = 39.0; a1->m_height = 50.0; break; case 1714: a1->m_width = 38.0; a1->m_height = 41.0; break; case 1715: LABEL_61: a1->m_height = 27.0; a1->m_width = 30.0; break; case 1716: case 1730: LABEL_77: a1->m_height = 15.0; a1->m_width = 30.0; break; case 1718: case 1724: case 1744: case 1746: case 1748: case 1750: goto LABEL_101; case 1719: case 1720: case 1728: LABEL_75: a1->m_height = 18.0; a1->m_width = 30.0; break; case 1721: LABEL_69: a1->m_height = 17.0; a1->m_width = 30.0; break; case 1725: LABEL_72: a1->m_height = 13.0; a1->m_width = 30.0; break; case 1726: LABEL_73: a1->m_height = 11.0; a1->m_width = 30.0; break; case 1727: LABEL_74: a1->m_width = 15.0; a1->m_height = 13.0; break; case 1729: LABEL_76: a1->m_width = 26.0; a1->m_height = 18.0; break; case 1734: LABEL_78: a1->m_width = 41.0; a1->m_height = 41.0; break; case 1735: LABEL_79: a1->m_width = 52.0; a1->m_height = 53.0; break; case 1736: LABEL_80: a1->m_width = 39.0; a1->m_height = 39.0; break; default: return; } }