Skip to content

Updated dlc and bits.c - #5

Merged
JurFal merged 1 commit into
mainfrom
yiyang-dev
Sep 30, 2025
Merged

JurFal merged 1 commit into
mainfrom
yiyang-dev

Conversation

@Caibao7

@Caibao7 Caibao7 commented Sep 29, 2025

Copy link
Copy Markdown
Contributor

method to update dlc

check where the func name is in dlc

  1. use Ghidra , which can be found in github

  2. After importing the dlc file, go to window -> defined string to filter your target func name.

  3. Then you'll see the info of the string.

modify the string

strings -t x dlc | grep <func_name>

will output:

<offset> <func_name>

Then modify:

printf "<target_func_name>\0" | dd of=dlc bs=1 seek=$((<offset>)) conv=notrunc

@Caibao7
Caibao7 requested a review from JurFal September 29, 2025 18:32

@JurFal JurFal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge吧

@JurFal
JurFal merged commit fba558e into main Sep 30, 2025
1 check passed
@fduTristin
fduTristin deleted the yiyang-dev branch September 30, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants