mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 10:17:03 +03:00
jsrf.h scalar deleting destructors return void *
They previously returned a pointer to the class type, but this isn't accurate to the signature indicated by MSVC's name mangling.
This commit is contained in:
parent
fd6815ae42
commit
c020c2e247
2 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
function fn_ptr(cls, signature, ret, fname, args) {
|
function fn_ptr(cls, signature, ret, fname, args) {
|
||||||
# Convert the given method signature to a function pointer
|
# Convert the given method signature to a function pointer
|
||||||
if ($1 ~ /^~/) # Special case for virtual destructor
|
if ($1 ~ /^~/) # Special case for virtual destructor
|
||||||
return "\t\t" cls " * __attribute__((thiscall)) "\
|
return "\t\t void * __attribute__((thiscall)) "\
|
||||||
"(*scalar_deleting_destructor)("\
|
"(*scalar_deleting_destructor)("\
|
||||||
cls " *, "\
|
cls " *, "\
|
||||||
"BOOL"\
|
"BOOL"\
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@ printf '%s\n' '// Automatically generated mass header file for Ghidra' > jsrf.h
|
||||||
# all the headers here by hand in an order that functions properly
|
# all the headers here by hand in an order that functions properly
|
||||||
HEADERS="
|
HEADERS="
|
||||||
Std.hpp
|
Std.hpp
|
||||||
XDK/Win32.hpp
|
XDK/Win32.h
|
||||||
XDK/D3D.hpp
|
XDK/D3D.h
|
||||||
Smilebit/MMatrix.hpp
|
Smilebit/MMatrix.hpp
|
||||||
JSRF/Core.hpp
|
JSRF/Core.hpp
|
||||||
JSRF/GameData.hpp
|
JSRF/GameData.hpp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue