1
Fork 0
mirror of https://github.com/awgil/ffxiv_reverse.git synced 2025-04-22 06:57:44 +00:00

Updated opcode indices for 6.4

This commit is contained in:
Andrew Gilewsky 2023-05-23 13:18:54 +01:00
parent cbca3893d4
commit eb09b0b01d

View file

@ -4,211 +4,211 @@ import ida_bytes
import ida_search import ida_search
packet_names = { packet_names = {
2: 'Ping', 2: 'Ping', # note: could be +1
3: 'Init', 3: 'Init', # note: could be +1
8: 'Logout', 8: 'Logout', # note: could be +1
11: 'CFCancel', 11: 'CFCancel', # note: could be +1
13: 'CFDutyInfo', 13: 'CFDutyInfo', # note: could be +1
14: 'CFNotify', 14: 'CFNotify', # note: could be +1
18: 'CFPreferredRole', 18: 'CFPreferredRole', # note: could be +1
81: 'CrossWorldLinkshellList', 81: 'CrossWorldLinkshellList', # note: could be +1
89: 'FellowshipList', 89: 'FellowshipList', # note: could be +1
111: 'Playtime', 111: 'Playtime', # note: could be +1
112: 'CFRegistered', 112: 'CFRegistered', # note: could be +1
115: 'Chat', 115: 'Chat', # note: could be +1
121: 'RSVData', 122: 'RSVData',
122: 'RSFData', 123: 'RSFData',
123: 'SocialMessage', 124: 'SocialMessage',
124: 'SocialMessage2', 125: 'SocialMessage2',
126: 'SocialList', 127: 'SocialList',
127: 'SocialRequestResponse', 128: 'SocialRequestResponse',
128: 'ExamineSearchInfo', 129: 'ExamineSearchInfo',
129: 'UpdateSearchInfo', 130: 'UpdateSearchInfo',
130: 'InitSearchInfo', 131: 'InitSearchInfo',
131: 'ExamineSearchComment', 132: 'ExamineSearchComment',
134: 'ServerNoticeShort', 135: 'ServerNoticeShort',
135: 'ServerNotice', 136: 'ServerNotice',
136: 'SetOnlineStatus', 137: 'SetOnlineStatus',
137: 'LogMessage', 138: 'LogMessage',
141: 'Countdown', 142: 'Countdown',
142: 'CountdownCancel', 143: 'CountdownCancel',
147: 'PartyMessage', 148: 'PartyMessage',
149: 'PlayerAddedToBlacklist', 150: 'PlayerAddedToBlacklist',
150: 'PlayerRemovedFromBlacklist', 151: 'PlayerRemovedFromBlacklist',
151: 'BlackList', 152: 'BlackList',
158: 'LinkshellList', 159: 'LinkshellList',
158: 'MailDeleteRequest', 159: 'MailDeleteRequest',
163: 'MarketBoardItemListingCount', 164: 'MarketBoardItemListingCount',
164: 'MarketBoardItemListing', 165: 'MarketBoardItemListing',
166: 'MarketBoardPurchase', 167: 'MarketBoardPurchase',
168: 'MarketBoardItemListingHistory', 169: 'MarketBoardItemListingHistory',
169: 'RetainerSaleHistory', 170: 'RetainerSaleHistory',
171: 'MarketBoardSearchResult', 172: 'MarketBoardSearchResult',
173: 'FreeCompanyInfo', 174: 'FreeCompanyInfo',
175: 'ExamineFreeCompanyInfo', 176: 'ExamineFreeCompanyInfo',
176: 'FreeCompanyDialog', 177: 'FreeCompanyDialog',
201: 'StatusEffectList', 202: 'StatusEffectList',
202: 'StatusEffectListEureka', 203: 'StatusEffectListEureka',
203: 'StatusEffectListBozja', 204: 'StatusEffectListBozja',
204: 'StatusEffectListDouble', 205: 'StatusEffectListDouble',
206: 'EffectResult1', 207: 'EffectResult1',
207: 'EffectResult4', 208: 'EffectResult4',
208: 'EffectResult8', 209: 'EffectResult8',
209: 'EffectResult16', 210: 'EffectResult16',
211: 'EffectResultBasic1', 212: 'EffectResultBasic1',
212: 'EffectResultBasic4', 213: 'EffectResultBasic4',
213: 'EffectResultBasic8', 214: 'EffectResultBasic8',
214: 'EffectResultBasic16', 215: 'EffectResultBasic16',
215: 'EffectResultBasic32', 216: 'EffectResultBasic32',
216: 'EffectResultBasic64', 217: 'EffectResultBasic64',
217: 'ActorControl', 218: 'ActorControl',
218: 'ActorControlSelf', 219: 'ActorControlSelf',
219: 'ActorControlTarget', 220: 'ActorControlTarget',
220: 'UpdateHpMpTp', 221: 'UpdateHpMpTp',
221: 'ActionEffect1', 222: 'ActionEffect1',
224: 'ActionEffect8', 225: 'ActionEffect8',
225: 'ActionEffect16', 226: 'ActionEffect16',
226: 'ActionEffect24', 227: 'ActionEffect24',
227: 'ActionEffect32', 228: 'ActionEffect32',
230: 'StatusEffectListPlayer', 231: 'StatusEffectListPlayer',
232: 'UpdateRecastTimes', 233: 'UpdateRecastTimes',
234: 'UpdateAllianceNormal', 235: 'UpdateAllianceNormal',
235: 'UpdateAllianceSmall', 236: 'UpdateAllianceSmall',
236: 'UpdatePartyMemberPositions', 237: 'UpdatePartyMemberPositions',
237: 'UpdateAllianceNormalMemberPositions', 238: 'UpdateAllianceNormalMemberPositions',
238: 'UpdateAllianceSmallMemberPositions', 239: 'UpdateAllianceSmallMemberPositions',
240: 'GCAffiliation', 241: 'GCAffiliation',
259: 'SpawnPlayer', 260: 'SpawnPlayer',
260: 'SpawnNPC', 261: 'SpawnNPC',
261: 'SpawnBoss', 262: 'SpawnBoss',
262: 'DespawnCharacter', 263: 'DespawnCharacter',
263: 'ActorMove', 264: 'ActorMove',
265: 'Transfer', 266: 'Transfer',
266: 'ActorSetPos', 267: 'ActorSetPos',
268: 'ActorCast', 269: 'ActorCast',
269: 'PlayerUpdateLook', 270: 'PlayerUpdateLook',
270: 'UpdateParty', 271: 'UpdateParty',
271: 'InitZone', 272: 'InitZone',
272: 'ApplyIDScramble', 273: 'ApplyIDScramble',
273: 'UpdateHate', 274: 'UpdateHate',
274: 'UpdateHater', 275: 'UpdateHater',
275: 'SpawnObject', 276: 'SpawnObject',
276: 'DespawnObject', 277: 'DespawnObject',
277: 'UpdateClassInfo', 278: 'UpdateClassInfo',
278: 'UpdateClassInfoEureka', 279: 'UpdateClassInfoEureka',
279: 'UpdateClassInfoBozja', 280: 'UpdateClassInfoBozja',
280: 'PlayerSetup', 281: 'PlayerSetup',
281: 'PlayerStats', 282: 'PlayerStats',
282: 'FirstAttack', 283: 'FirstAttack',
283: 'PlayerStateFlags', 284: 'PlayerStateFlags',
284: 'PlayerClassInfo', 285: 'PlayerClassInfo',
286: 'ModelEquip', 287: 'ModelEquip',
287: 'Examine', 288: 'Examine',
290: 'CharaNameReq', 291: 'CharaNameReq',
294: 'RetainerInformation', 295: 'RetainerInformation',
296: 'ItemMarketBoardInfo', 297: 'ItemMarketBoardInfo',
298: 'ItemInfo', 299: 'ItemInfo',
299: 'ContainerInfo', 300: 'ContainerInfo',
300: 'InventoryTransactionFinish', 301: 'InventoryTransactionFinish',
301: 'InventoryTransaction', 302: 'InventoryTransaction',
302: 'CurrencyCrystalInfo', 303: 'CurrencyCrystalInfo',
304: 'InventoryActionAck', 305: 'InventoryActionAck',
305: 'UpdateInventorySlot', 306: 'UpdateInventorySlot',
307: 'OpenTreasure', 308: 'OpenTreasure',
310: 'LootMessage', 311: 'LootMessage',
314: 'CreateTreasure', 315: 'CreateTreasure',
315: 'TreasureFadeOut', 316: 'TreasureFadeOut',
316: 'HuntingLogEntry', 317: 'HuntingLogEntry',
318: 'EventPlay', 319: 'EventPlay',
319: 'EventPlay4', 320: 'EventPlay4',
320: 'EventPlay8', 321: 'EventPlay8',
321: 'EventPlay16', 322: 'EventPlay16',
322: 'EventPlay32', 323: 'EventPlay32',
323: 'EventPlay64', 324: 'EventPlay64',
324: 'EventPlay128', 325: 'EventPlay128',
325: 'EventPlay255', 326: 'EventPlay255',
327: 'EventStart', 328: 'EventStart',
328: 'EventFinish', 329: 'EventFinish',
339: 'EventContinue', 340: 'EventContinue',
341: 'ResultDialog', 342: 'ResultDialog',
342: 'DesynthResult', 343: 'DesynthResult',
347: 'QuestActiveList', 348: 'QuestActiveList',
348: 'QuestUpdate', 349: 'QuestUpdate',
349: 'QuestCompleteList', 350: 'QuestCompleteList',
350: 'QuestFinish', 351: 'QuestFinish',
353: 'MSQTrackerComplete', 354: 'MSQTrackerComplete',
365: 'QuestTracker', 366: 'QuestTracker',
386: 'Mount', 387: 'Mount',
388: 'DirectorVars', 389: 'DirectorVars',
389: 'ContentDirectorSync', 390: 'ContentDirectorSync',
391: 'EnvControl', 392: 'EnvControl',
397: 'SystemLogMessage1', 398: 'SystemLogMessage1',
398: 'SystemLogMessage2', 399: 'SystemLogMessage2',
399: 'SystemLogMessage4', 400: 'SystemLogMessage4',
400: 'SystemLogMessage8', 401: 'SystemLogMessage8',
401: 'SystemLogMessage16', 402: 'SystemLogMessage16',
403: 'BattleTalk2', 404: 'BattleTalk2',
404: 'BattleTalk4', 405: 'BattleTalk4',
405: 'BattleTalk8', 406: 'BattleTalk8',
407: 'MapUpdate', 408: 'MapUpdate',
408: 'MapUpdate4', 409: 'MapUpdate4',
409: 'MapUpdate8', 410: 'MapUpdate8',
410: 'MapUpdate16', 411: 'MapUpdate16',
411: 'MapUpdate32', 412: 'MapUpdate32',
412: 'MapUpdate64', 413: 'MapUpdate64',
413: 'MapUpdate128', 414: 'MapUpdate128',
415: 'BalloonTalk2', 416: 'BalloonTalk2',
416: 'BalloonTalk4', 417: 'BalloonTalk4',
417: 'BalloonTalk8', 418: 'BalloonTalk8',
419: 'WeatherChange', 420: 'WeatherChange',
420: 'PlayerTitleList', 421: 'PlayerTitleList',
421: 'Discovery', 422: 'Discovery',
423: 'EorzeaTimeOffset', 424: 'EorzeaTimeOffset',
436: 'EquipDisplayFlags', 437: 'EquipDisplayFlags',
437: 'NpcYell', 438: 'NpcYell',
442: 'FateInfo', 443: 'FateInfo',
456: 'LandSetInitialize', 457: 'LandSetInitialize',
457: 'LandUpdate', 458: 'LandUpdate',
458: 'YardObjectSpawn', 459: 'YardObjectSpawn',
459: 'HousingIndoorInitialize', 460: 'HousingIndoorInitialize',
460: 'LandAvailability', 461: 'LandAvailability',
462: 'LandPriceUpdate', 463: 'LandPriceUpdate',
463: 'LandInfoSign', 464: 'LandInfoSign',
464: 'LandRename', 465: 'LandRename',
465: 'HousingEstateGreeting', 466: 'HousingEstateGreeting',
466: 'HousingUpdateLandFlagsSlot', 467: 'HousingUpdateLandFlagsSlot',
467: 'HousingLandFlags', 468: 'HousingLandFlags',
468: 'HousingShowEstateGuestAccess', 469: 'HousingShowEstateGuestAccess',
470: 'HousingObjectInitialize', 471: 'HousingObjectInitialize',
471: 'HousingInternalObjectSpawn', 472: 'HousingInternalObjectSpawn',
473: 'HousingWardInfo', 474: 'HousingWardInfo',
474: 'HousingObjectMove', 475: 'HousingObjectMove',
475: 'HousingObjectDye', 476: 'HousingObjectDye',
487: 'SharedEstateSettingsResponse', 488: 'SharedEstateSettingsResponse',
499: 'DailyQuests', 500: 'DailyQuests',
501: 'DailyQuestRepeatFlags', 502: 'DailyQuestRepeatFlags',
503: 'LandUpdateHouseName', 504: 'LandUpdateHouseName',
514: 'AirshipTimers', 515: 'AirshipTimers',
517: 'PlaceMarker', 518: 'PlaceMarker',
518: 'WaymarkPreset', 519: 'WaymarkPreset',
519: 'Waymark', 520: 'Waymark',
522: 'UnMount', 523: 'UnMount', # note: could be up to -2
525: 'CeremonySetActorAppearance', 526: 'CeremonySetActorAppearance', # note: could be up to -2
531: 'AirshipStatusList', 532: 'AirshipStatusList', # note: could be up to -2
532: 'AirshipStatus', 533: 'AirshipStatus', # note: could be up to -2
533: 'AirshipExplorationResult', 534: 'AirshipExplorationResult', # note: could be up to -2
534: 'SubmarineStatusList', 535: 'SubmarineStatusList', # note: could be up to -2
535: 'SubmarineProgressionStatus', 536: 'SubmarineProgressionStatus', # note: could be up to -2
536: 'SubmarineExplorationResult', 537: 'SubmarineExplorationResult', # note: could be up to -2
538: 'SubmarineTimers', 539: 'SubmarineTimers', # note: could be up to -2
570: 'PrepareZoning', 569: 'PrepareZoning', # note: could be up to -1
571: 'ActorGauge', 570: 'ActorGauge',
572: 'CharaVisualEffect', 571: 'CharaVisualEffect',
573: 'LandSetMap', 572: 'LandSetMap',
574: 'Fall', 573: 'Fall',
623: 'PlayMotionSync', 622: 'PlayMotionSync',
632: 'CEDirector', 631: 'CEDirector',
654: 'IslandWorkshopSupplyDemand', 653: 'IslandWorkshopSupplyDemand',
} }
def find_next_func_by_sig(ea, pattern): def find_next_func_by_sig(ea, pattern):