Skip to content

Instantly share code, notes, and snippets.

@cairthenn
cairthenn / tryaction_documation.asm
Created February 8, 2022 16:18
FFXIV action usage assembly commenting
# To better understand how actions are handled in XIV, I decided to step-by-step comment thru the assembly
# Was this useful? Well. To each their own.
# Where the function keeps some stuff for a lot of the time:
r12 : location, Vector3* if called with resolvable target, otherwise bool*
rbp : target
eax : action id
r15 : action type
rdi : action manager pointer
@cairthenn
cairthenn / bloop.lua
Last active March 16, 2019 22:06
BLU Spell Addon
_addon.name = 'Bloop'
_addon.version = '1.0'
_addon.author = 'Cair'
_addon.commands = {'bloop','blu'}
res = require('resources')
config = require('config')
require('logger')
function ws_hits(base_hits)
local total = base_hits
if sub_weapon then
total = total + 1
end
total = total + qa() or ta() or da() or 0
if base_hits > 1 then
total = total + qa() or ta() or da() or 0
Filter::Filter(vector<Employee *> *pEmpVector, DATA_FIELDS field, SELECTION_CRITERIA selectCrit, pair<string, string> dataLimit):
field_(field), firstField_(field), selectCrit_(selectCrit)
{
addFilter(pEmpVector, field, selectCrit, dataLimit, FILTER_TYPE::FIRST);
}
5★ : 1st Class (Most Expensive)
4★ : 2nd Class
3★ : 3rd Class
2★ : 4th Class
1★ : 5th Class (Cheapest)
Mist
01: [[M]] ★★★★
02: <[[L]]> ★★★★
String Table Entry 00000 Firesday 1
String Table Entry 00001 Earthsday 1
String Table Entry 00002 Watersday 1
String Table Entry 00003 Windsday 1
String Table Entry 00004 Iceday 1
String Table Entry 00005 Lightningday 1
String Table Entry 00006 Lightsday 1
String Table Entry 00007 Darksday 1
String Table Entry 00000 Jour du feu 1