This website requires JavaScript.
Explore
Help
Register
Sign In
Rooba
/
ReC98
mirror of
https://github.com/nmlgc/ReC98.git
Watch
1
Star
1
Fork
You've already forked ReC98
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
dfac2f2fd4
ReC98
/
th01
/
op_12.cpp
7 lines
97 B
C++
Raw
Normal View
History
Unescape
Escape
[C decompilation] [th01/op] Archive functions Fuck TH02 and above and their bizarre assembly code that indeed appears to be, uh, playfully "optimized" in the most inadequate of places, far away from the innermost loop. It's ALWAYS just these one or two instructions I just can't fucking get out of the C compiler, which lead to the conclusion that these functions must have either been first compiled to assembly, then "fine-tuned" and then linked into the executable… … or I'm really just missing some obscure compiler setting. At least with TH01, you can tell that the source language must have undeniably been C++, and the decompilation is a breeze.
2015-03-05 22:07:22 +00:00
/* ReC98
*
-
-
-
-
-
*
Code
segment
#
12
of
TH01
'
s
OP
.
EXE
*/
[Maintenance] [th01] Correctly declare the packfile functions in C land Mangled C++ function names would *not* have been a mistake if I hadn't made the other mistake of restricting parts of the code to C… Part of P0083, funded by Yanga.
2020-03-15 21:33:10 +00:00
#
include
"th01/formats/pf.cpp"