Merge pull request #2 from gromchek/actionbar_class

feat(profile): CGActionBar func and label
This commit is contained in:
phaneron 2025-04-04 18:20:59 -04:00 committed by GitHub
commit 44ba6b92bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 112 additions and 0 deletions

View file

@ -806,6 +806,10 @@ static import_data_types() {
apply_type(0x00B417D0, "int32_t");
apply_type(0x00B41850, "CDataRecycler");
apply_type(0x00B6A9DC, "MipBits*");
apply_type(0x00C1DC98, "uint32_t[144]");
apply_type(0x00C1DED8, "uint32_t[144]");
apply_type(0x00C1E118, "uint32_t[144]");
apply_type(0x00C1E358, "uint32_t[144]");
apply_type(0x00C25CD0, "int8_t");
apply_type(0x00C25DE8, "uint32_t[1024]");
apply_type(0x00C26DE8, "CURSORMODE");

View file

@ -1521,31 +1521,60 @@ static import_symbols() {
set_name(0x005A6DC0, "Script_GetGuildBankTransaction");
set_name(0x005A7110, "Script_QueryGuildBankText");
set_name(0x005A7180, "Script_SetGuildBankText");
set_name(0x005A79D0, "CGActionBar__InitializeGame");
set_name(0x005A7A70, "CGActionBar__ShowGrid");
set_name(0x005A7A80, "CGActionBar__HideGrid");
set_name(0x005A7C20, "CGActionBar__SetTemporaryActionBarFlags");
set_name(0x005A7D10, "Script_GetActionCount");
set_name(0x005A7D90, "Script_GetActionText");
set_name(0x005A7E60, "Script_IsUsableAction");
set_name(0x005A7F20, "Script_GetBonusBarOffset");
set_name(0x005A7F60, "Script_ChangeActionBarPage");
set_name(0x005A7FD0, "Script_GetActionBarPage");
set_name(0x005A8070, "CGActionBar__GetItem");
set_name(0x005A8160, "CGActionBar__HasAction");
set_name(0x005A8220, "Script_HasAction");
set_name(0x005A8290, "Script_SetActionBarToggles");
set_name(0x005A8330, "Script_GetMultiCastTotemSpells");
set_name(0x005A83C0, "CGActionBar__UpdateBonusBar");
set_name(0x005A84D0, "CGActionBar__GetAttackTexture");
set_name(0x005A85E0, "CGActionBar__GetRangedTexture");
set_name(0x005A86B0, "CGActionBar__FindUseEnchantItemPtr");
set_name(0x005A8720, "Script_IsStackableAction");
set_name(0x005A8790, "Script_GetActionBarToggles");
set_name(0x005A8820, "Script_IsPossessBarVisible");
set_name(0x005A88B0, "CGActionBar__IsEquippedAction");
set_name(0x005A8A60, "CGActionBar__CalculateItemCount");
set_name(0x005A8BC0, "Script_IsEquippedAction");
set_name(0x005A8C30, "CGActionBar__GetSpell");
set_name(0x005A8D30, "CGActionBar__UpdateUsablePower");
set_name(0x005A8E40, "CGActionBar__GetCooldown");
set_name(0x005A8F10, "Script_GetActionInfo");
set_name(0x005A91C0, "Script_GetActionCooldown");
set_name(0x005A9290, "Script_GetActionAutocast");
set_name(0x005A9360, "CGActionBar__IsConsumableAction");
set_name(0x005A95E0, "CGActionBar__ActionHasRange");
set_name(0x005A97F0, "CGActionBar__GetTexture");
set_name(0x005A9B30, "Script_GetActionTexture");
set_name(0x005A9BA0, "Script_IsAttackAction");
set_name(0x005A9C10, "Script_IsAutoRepeatAction");
set_name(0x005A9C80, "Script_IsConsumableAction");
set_name(0x005A9CF0, "Script_ActionHasRange");
set_name(0x005A9D50, "Script_IsActionInRange");
set_name(0x005A9E20, "CGActionBar__UpdateUsableAction");
set_name(0x005AA240, "CGActionBar__IsCurrentAction");
set_name(0x005AA390, "CGActionBar__SlotChanged");
set_name(0x005AA470, "CGActionBar__UpdateUsable");
set_name(0x005AAA90, "CGActionBar__RemoveAction");
set_name(0x005AAB90, "CGActionBar__RemoveMacro");
set_name(0x005AAD40, "Script_IsCurrentAction");
set_name(0x005AAE20, "CGActionBar__RemoveEquipmentSet");
set_name(0x005AAE80, "CGActionBar__SetAction");
set_name(0x005AB120, "CGActionBar__PutActionInSlot");
set_name(0x005AB840, "Script_PlaceAction");
set_name(0x005AB8A0, "Script_SetMultiCastSpell");
set_name(0x005ABBC0, "CGActionBar__UseAction");
set_name(0x005ABE70, "CGActionBar__PickupAction");
set_name(0x005AC000, "Script_UseAction");
set_name(0x005AC090, "Script_PickupAction");
set_name(0x005AC320, "Script_RegisterStaticConstants");
@ -3481,6 +3510,13 @@ static import_symbols() {
set_name(0x00BD085C, "CGGameUI__m_instanceLockComletedMask");
set_name(0x00BD0860, "CGGameUI__m_instanceLockExtending");
set_name(0x00BD086C, "CGGameUI__m_billingExpireTime");
set_name(0x00C1DC98, "CGActionBar__m_slotNoMana");
set_name(0x00C1DED8, "CGActionBar__m_slotUsable");
set_name(0x00C1E118, "CGActionBar__m_slotUseCount");
set_name(0x00C1E358, "CGActionBar__m_slotActions");
set_name(0x00C1E598, "CGActionBar__m_currentPage");
set_name(0x00C1E59C, "CGActionBar__m_bonusBarOffset");
set_name(0x00C1E5A0, "CGActionBar__m_tempPageActiveFlags");
set_name(0x00C25CD0, "s_cursorFile");
set_name(0x00C25DD4, "s_cursorItemMipsWidth");
set_name(0x00C25DD8, "s_cursorItemMipsHeight");

View file

@ -0,0 +1,29 @@
CGActionBar__InitializeGame 005A79D0 f end=005A7A36
CGActionBar__ShowGrid 005A7A70 f end=005A7A80
CGActionBar__HideGrid 005A7A80 f end=005A7A90
CGActionBar__SetTemporaryActionBarFlags 005A7C20 f end=005A7C41
CGActionBar__GetItem 005A8070 f end=005A80DB
CGActionBar__HasAction 005A8160 f end=005A821E
CGActionBar__UpdateBonusBar 005A83C0 f end=005A8467
CGActionBar__GetAttackTexture 005A84D0 f end=005A85D3
CGActionBar__GetRangedTexture 005A85E0 f end=005A86AD
CGActionBar__FindUseEnchantItemPtr 005A86B0 f end=005A8711
CGActionBar__IsEquippedAction 005A88B0 f end=005A89A5
CGActionBar__CalculateItemCount 005A8A60 f end=005A8BBB
CGActionBar__GetSpell 005A8C30 f end=005A8D22
CGActionBar__UpdateUsablePower 005A8D30 f end=005A8E36
CGActionBar__GetCooldown 005A8E40 f end=005A8F07
CGActionBar__IsConsumableAction 005A9360 f end=005A946E
CGActionBar__ActionHasRange 005A95E0 f end=005A96D0
CGActionBar__GetTexture 005A97F0 f end=005A9B0C
CGActionBar__UpdateUsableAction 005A9E20 f end=005AA23A
CGActionBar__IsCurrentAction 005AA240 f end=005AA370
CGActionBar__SlotChanged 005AA390 f end=005AA466
CGActionBar__UpdateUsable 005AA470 f end=005AA4D9
CGActionBar__RemoveAction 005AAA90 f end=005AAB0D
CGActionBar__RemoveMacro 005AAB90 f end=005AABFB
CGActionBar__RemoveEquipmentSet 005AAE20 f end=005AAE71
CGActionBar__SetAction 005AAE80 f end=005AAFCB
CGActionBar__PutActionInSlot 005AB120 f end=005AB7F4
CGActionBar__UseAction 005ABBC0 f end=005ABE63
CGActionBar__PickupAction 005ABE70 f end=005ABFF6

View file

@ -0,0 +1,7 @@
CGActionBar__m_slotUseCount 00C1E118 l type="uint32_t[144]"
CGActionBar__m_slotUsable 00C1DED8 l type="uint32_t[144]"
CGActionBar__m_slotNoMana 00C1DC98 l type="uint32_t[144]"
CGActionBar__m_slotActions 00C1E358 l type="uint32_t[144]"
CGActionBar__m_currentPage 00C1E598 l
CGActionBar__m_bonusBarOffset 00C1E59C l
CGActionBar__m_tempPageActiveFlags 00C1E5A0 l

View file

@ -1517,31 +1517,60 @@ Script_QueryGuildBankLog 005A6D50 f end=005A6DB9
Script_GetGuildBankTransaction 005A6DC0 f end=005A70ED
Script_QueryGuildBankText 005A7110 f end=005A7179
Script_SetGuildBankText 005A7180 f end=005A7243
CGActionBar__InitializeGame 005A79D0 f end=005A7A36
CGActionBar__ShowGrid 005A7A70 f end=005A7A80
CGActionBar__HideGrid 005A7A80 f end=005A7A90
CGActionBar__SetTemporaryActionBarFlags 005A7C20 f end=005A7C41
Script_GetActionCount 005A7D10 f end=005A7D87
Script_GetActionText 005A7D90 f end=005A7E60
Script_IsUsableAction 005A7E60 f end=005A7F15
Script_GetBonusBarOffset 005A7F20 f end=005A7F54
Script_ChangeActionBarPage 005A7F60 f end=005A7FCB
Script_GetActionBarPage 005A7FD0 f end=005A8011
CGActionBar__GetItem 005A8070 f end=005A80DB
CGActionBar__HasAction 005A8160 f end=005A821E
Script_HasAction 005A8220 f end=005A8290
Script_SetActionBarToggles 005A8290 f end=005A832F
Script_GetMultiCastTotemSpells 005A8330 f end=005A83B1
CGActionBar__UpdateBonusBar 005A83C0 f end=005A8467
CGActionBar__GetAttackTexture 005A84D0 f end=005A85D3
CGActionBar__GetRangedTexture 005A85E0 f end=005A86AD
CGActionBar__FindUseEnchantItemPtr 005A86B0 f end=005A8711
Script_IsStackableAction 005A8720 f end=005A8790
Script_GetActionBarToggles 005A8790 f end=005A8811
Script_IsPossessBarVisible 005A8820 f end=005A88A9
CGActionBar__IsEquippedAction 005A88B0 f end=005A89A5
CGActionBar__CalculateItemCount 005A8A60 f end=005A8BBB
Script_IsEquippedAction 005A8BC0 f end=005A8C30
CGActionBar__GetSpell 005A8C30 f end=005A8D22
CGActionBar__UpdateUsablePower 005A8D30 f end=005A8E36
CGActionBar__GetCooldown 005A8E40 f end=005A8F07
Script_GetActionInfo 005A8F10 f end=005A91BB
Script_GetActionCooldown 005A91C0 f end=005A9288
Script_GetActionAutocast 005A9290 f end=005A9357
CGActionBar__IsConsumableAction 005A9360 f end=005A946E
CGActionBar__ActionHasRange 005A95E0 f end=005A96D0
CGActionBar__GetTexture 005A97F0 f end=005A9B0C
Script_GetActionTexture 005A9B30 f end=005A9B99
Script_IsAttackAction 005A9BA0 f end=005A9C10
Script_IsAutoRepeatAction 005A9C10 f end=005A9C80
Script_IsConsumableAction 005A9C80 f end=005A9CF0
Script_ActionHasRange 005A9CF0 f end=005A9D4D
Script_IsActionInRange 005A9D50 f end=005A9E17
CGActionBar__UpdateUsableAction 005A9E20 f end=005AA23A
CGActionBar__IsCurrentAction 005AA240 f end=005AA370
CGActionBar__SlotChanged 005AA390 f end=005AA466
CGActionBar__UpdateUsable 005AA470 f end=005AA4D9
CGActionBar__RemoveAction 005AAA90 f end=005AAB0D
CGActionBar__RemoveMacro 005AAB90 f end=005AABFB
Script_IsCurrentAction 005AAD40 f end=005AADB0
CGActionBar__RemoveEquipmentSet 005AAE20 f end=005AAE71
CGActionBar__SetAction 005AAE80 f end=005AAFCB
CGActionBar__PutActionInSlot 005AB120 f end=005AB7F4
Script_PlaceAction 005AB840 f end=005AB896
Script_SetMultiCastSpell 005AB8A0 f end=005AB9CD
CGActionBar__UseAction 005ABBC0 f end=005ABE63
CGActionBar__PickupAction 005ABE70 f end=005ABFF6
Script_UseAction 005AC000 f end=005AC084
Script_PickupAction 005AC090 f end=005AC0D7
Script_RegisterStaticConstants 005AC320 f end=005AC385
@ -3477,6 +3506,13 @@ CGGameUI__m_instanceLockTime 00BD0858 l
CGGameUI__m_instanceLockComletedMask 00BD085C l
CGGameUI__m_instanceLockExtending 00BD0860 l
CGGameUI__m_billingExpireTime 00BD086C l
CGActionBar__m_slotNoMana 00C1DC98 l type="uint32_t[144]"
CGActionBar__m_slotUsable 00C1DED8 l type="uint32_t[144]"
CGActionBar__m_slotUseCount 00C1E118 l type="uint32_t[144]"
CGActionBar__m_slotActions 00C1E358 l type="uint32_t[144]"
CGActionBar__m_currentPage 00C1E598 l
CGActionBar__m_bonusBarOffset 00C1E59C l
CGActionBar__m_tempPageActiveFlags 00C1E5A0 l
s_cursorFile 00C25CD0 l type="int8_t" ; wonder why it's this type
s_cursorItemMipsWidth 00C25DD4 l
s_cursorItemMipsHeight 00C25DD8 l