Decompile 10 functions in Source/Contents/Effects/RagEffect.cpp, Source/Contents/Items/ItemInfo.cpp, ...
Batch #13444 by KWDev: 10 byte-identical, 0 confirmed by peer review. - fn_23807 CSession::GetPetFood: byte-identical - fn_23813 CSession::GetPetJobByEggItem: byte-identical - fn_23816 CSession::GetPetString: byte-identical - fn_20077 CRagEffect::LexDivina: byte-identical - fn_06573 ITEM_INFO::Assign: byte-identical - fn_07702 UIMessengerGroupWnd::DropMember: byte-identical - fn_10118 UIRPData::~UIRPData: byte-identical - fn_08276 CPlayerSkillBundle::RemoveExtra: byte-identical - fn_08129 CRuneSystemMgr::GetGradeFailValue: byte-identical - fn_02432 CSurfaceDX9::Resize: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
55ff34c52d
commit
e8b2f375ed
8 changed files with 21 additions and 24 deletions
|
|
@ -19,11 +19,11 @@ const char* CSession::GetPetAccActName(int id) {
|
|||
// FUNCTION: fn_23807
|
||||
int CSession::GetPetFood(int job) {
|
||||
int food = 0;
|
||||
if (!this->m_hotkeyScript->Call("GetPetFood", "d>d", job, &food)) {
|
||||
return -1;
|
||||
if (this->m_hotkeyScript->Call("GetPetFood", "d>d", job, &food)) {
|
||||
return food;
|
||||
}
|
||||
|
||||
return food;
|
||||
return -1;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00E0B170
|
||||
|
|
@ -41,20 +41,20 @@ void CSession::GetPetIllustName(int job, int, char* buffer) {
|
|||
// FUNCTION: fn_23813
|
||||
int CSession::GetPetJobByEggItem(int eggItemId) {
|
||||
int job = 0;
|
||||
if (!this->m_hotkeyScript->Call("GetPetJTID_by_PetEggITID", "d>d", eggItemId, &job)) {
|
||||
return -1;
|
||||
if (this->m_hotkeyScript->Call("GetPetJTID_by_PetEggITID", "d>d", eggItemId, &job)) {
|
||||
return job;
|
||||
}
|
||||
|
||||
return job;
|
||||
return -1;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00E12780
|
||||
// FUNCTION: fn_23816
|
||||
const char* CSession::GetPetString(int id) {
|
||||
const char* text = nullptr;
|
||||
if (!this->m_hotkeyScript->Call("GetPetString", "d>s", id, &text)) {
|
||||
return nullptr;
|
||||
if (this->m_hotkeyScript->Call("GetPetString", "d>s", id, &text)) {
|
||||
return text;
|
||||
}
|
||||
|
||||
return text;
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue