Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit e289db4

Browse files
committed
uwu
1 parent 3a11363 commit e289db4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/core/find_functions.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ bool Core::find_functions()
108108
obj_table = std::make_unique<RefTable<Obj>>((void*)GetVisContents, 0x7a, 0x72);
109109
mob_table = std::make_unique<RefTable<Mob>>((void*)GetVisContents, 0x5a, 0x52);
110110
image_table = std::make_unique<RefTable<ImageOverlay>>((void*)GetVisContents, 0x3a, 0x32);
111-
void* appearance_table_ptr = Pocket::Sigscan::FindPattern(BYONDCORE, "a1 ?? ?? ?? ?? 8b 04 b0 85 c0 89 45 e4 0f 84 ?? ?? ?? ?? a1 ?? ?? ?? ?? 8b 48 44", 20)
111+
void* appearance_table_ptr = Pocket::Sigscan::FindPattern(BYONDCORE, "a1 ?? ?? ?? ?? 8b 04 b0 85 c0 89 45 e4 0f 84 ?? ?? ?? ?? a1 ?? ?? ?? ?? 8b 48 44", 20);
112112
TRUE_OR_DIE(appearance_table_ptr);
113113
appearance_table = *(AppearanceTable***)appearance_table_ptr;
114114
void* appearance_list_ptr = Pocket::Sigscan::FindPattern(BYONDCORE, "c7 46 3c ff ff 00 00 a1 ?? ?? ?? ?? 39 45 e0 73 50 8b 15 ?? ?? ?? ??", 19);
@@ -120,10 +120,10 @@ bool Core::find_functions()
120120
turf_hashtable = *(TurfHashtableHolder**)((int)GetVisContents + 0xb9);
121121

122122
// i love inlining i love inlining
123-
animate_start_call = (int*)Pocket::Sigscan::FindPattern(BYONDCORE, "e8 ?? ?? ?? ?? 8b b5 ?? ?? ?? ?? 8b bd ?? ?? ?? ?? 89 34 24 89 7c 24 04 e8 ?? ?? ?? ?? 89 c7 31 f6 8d 85 ?? ?? ?? ??", 1);
123+
animate_start_call = (unsigned int*)Pocket::Sigscan::FindPattern(BYONDCORE, "e8 ?? ?? ?? ?? 8b b5 ?? ?? ?? ?? 8b bd ?? ?? ?? ?? 89 34 24 89 7c 24 04 e8 ?? ?? ?? ?? 89 c7 31 f6 8d 85 ?? ?? ?? ??", 1);
124124
AnimateStartFun = (AnimateStartFunPtr)RELATIVE_CALL_RESOLVE(animate_start_call);
125-
animate_end_jump = (int*)Pocket::Sigscan::FindPattern(BYONDCORE, "89 7c 24 04 e8 ?? ?? ?? ?? a1 ?? ?? ?? ?? 8b 0d ?? ?? ?? ?? 8b 1d ?? ?? ?? ?? 0f b7 50 42 8b 78 3c 0f b7 f2 83 c2 01 89 0c f7 89 5c f7 04 66 89 50 42 a1 ?? ?? ?? ?? 0f b7 50 42 8b 40 3c 8d 54 d0 f8 8b 02 8b 52 04 89 04 24 89 54 24 04 e8 ?? ?? ?? ?? 8b 3d ?? ?? ?? ?? e9 ?? ?? ?? ?? ", 90);
126-
original_animate_end_jump = (int)RELATIVE_CALL_RESOLVE(animate_end_jump);
125+
animate_end_jump = (unsigned int*)Pocket::Sigscan::FindPattern(BYONDCORE, "89 7c 24 04 e8 ?? ?? ?? ?? a1 ?? ?? ?? ?? 8b 0d ?? ?? ?? ?? 8b 1d ?? ?? ?? ?? 0f b7 50 42 8b 78 3c 0f b7 f2 83 c2 01 89 0c f7 89 5c f7 04 66 89 50 42 a1 ?? ?? ?? ?? 0f b7 50 42 8b 40 3c 8d 54 d0 f8 8b 02 8b 52 04 89 04 24 89 54 24 04 e8 ?? ?? ?? ?? 8b 3d ?? ?? ?? ?? e9 ?? ?? ?? ?? ", 90);
126+
original_animate_end_jump = (unsigned int)RELATIVE_CALL_RESOLVE(animate_end_jump);
127127

128128
#endif
129129
return true;

0 commit comments

Comments
 (0)