View Single Post
Old 11-30-2023, 11:48 AM   #31
lumping-sugar66
Groupie
lumping-sugar66 knows better than to ask about the Gravitic Imploder Lance.lumping-sugar66 knows better than to ask about the Gravitic Imploder Lance.lumping-sugar66 knows better than to ask about the Gravitic Imploder Lance.lumping-sugar66 knows better than to ask about the Gravitic Imploder Lance.lumping-sugar66 knows better than to ask about the Gravitic Imploder Lance.lumping-sugar66 knows better than to ask about the Gravitic Imploder Lance.lumping-sugar66 knows better than to ask about the Gravitic Imploder Lance.lumping-sugar66 knows better than to ask about the Gravitic Imploder Lance.lumping-sugar66 knows better than to ask about the Gravitic Imploder Lance.lumping-sugar66 knows better than to ask about the Gravitic Imploder Lance.lumping-sugar66 knows better than to ask about the Gravitic Imploder Lance.
 
lumping-sugar66's Avatar
 
Posts: 151
Karma: 87635
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E, Kobo Libra 2
So, more progress. I've had some success!

I wanted to triple-check the symbols availability on the device and change the nh.c to dump all the available symbols to a text file, and then I checked for the symbols from working mods vs. unsuccessful attempts of mine.

Sure enough, "_ZN11ReadingView19readerIsDoneLoadingEv" is on this list (nickelclock)

But, "_ZN20OverDriveActionProxy16setShowOverDriveEb " is not. Some of the other symbols I've tried are not there as well.

I ended up basing my search on this list instead of Ghidra and symdump results, and for this use case of forcing OverDrive, thankfully, there's a "_ZN20OverDriveCardManager18isOverDriveEnabled Ev". I hooked onto that and overridden the internal logic, and sure enough, the mod works with no hiccup.

So I'm not sure if it's the particular libnickel.so.1.0.0 that doesn't expose these symbols in some way or make them available to nickelhook, but I think I'll base my search for hookable symbols on that list and proceed with other tools to see the decompilation result, unless there's other suggestions.

FWIW, I'm sharing that list here: https://gist.github.com/onatbas/a203...0968ab9aee3db2
lumping-sugar66 is offline   Reply With Quote