Jump to content
Eagle114th

Questions about DLL files modding (DLL - Dissassembled codes found!)

Recommended Posts

I recommend to keep expectations low. With these disassembled codes we can infer how things have been done, but in no way we can simply edit and recompile such codes so that they work in the game. We lack a lot of info for that, you can't infer that info from disassembled codes alone, a source code is always needed.

At best it can be of help to someone who wishes to reverse engineer the whole game, but I don't see anyone around willing to spend two-three whole years for such an endeavor. It's certainly helpful to modders for understanding what the game does under the hood.

  • Like 2

Share this post


Link to post
Share on other sites

Hello everyone!

I’ve been grinding for hours to make sense of these massive codebases, and I have an idea!

I’m building a huge resource library with lists of class references and the functions handling strings. These will help us zero in on specific functions in Ghidra. Check out the examples:

Avionics 60 Class List

Quote

avnHUDElementClass                            FUN_10001000
avnHUDElementClass                            FUN_10001010
avnHUDImageClass                            FUN_100019b0
avnHUDImageClass                            FUN_10001ab0
avnHUDElementClass                            FUN_10001ab0
avnHUDScaleClass                            FUN_10001de0
avnHUDScaleClass                            FUN_10001f90
avnHUDImageClass                            FUN_10001f90
avnHUDElementClass                            FUN_10001f90
avnHUDTextClass                                FUN_10002190
avnHUDTextClass                                FUN_100022d0
avnHUDElementClass                            FUN_100022d0
avnHUDBoresightClass                        FUN_10002460
avnHUDFlightpathClass                        FUN_100024a0
avnHUDModeIndicatorClass                    FUN_10002550
avnHUDAlphaTextClass                        FUN_100025a0
avnHUDFlightPathTextClass                    FUN_10002620
avnHUDMachIndicatorClass                    FUN_100026b0
avnHUDAirspeedTextClass                        FUN_10002740
avnHUDAltitudeTextClass                        FUN_100027d0
avnHUDGIndicatorClass                        FUN_10002860
avnHUDMaxGIndicatorClass                    FUN_10002910
avnHUDLowAltIndicatorClass                    FUN_10002990
avnHUDRadarAltIndicatorClass                FUN_100029d0
avnHUDVerticalVelocityScaleClass            FUN_10002a60
avnHUDAirspeedScaleClass                    FUN_10002ad0
avnHUDAirspeedScaleClass                    FUN_10002d70
avnHUDAltitudeScaleClass                    FUN_100033b0
avnHUDAltitudeScaleClass                    FUN_100036a0
avnHUDHeadingScaleClass                        FUN_10003710
avnHUDHeadingScaleClass                        FUN_100038e0
avnHUDRollIndicatorClass                    FUN_10003dc0
avnHUDRollIndicatorClass                    FUN_10003f60
avnHUDImageClass                            FUN_10003f60
avnHUDElementClass                            FUN_10003f60
avnHUDAttitudeBarsClass                        FUN_10004170
avnHUDAttitudeBarsClass                        FUN_10004460
avnHUDElementClass                            FUN_10004460
avnHUDSteeringCueClass                        FUN_10004880
avnHUDSteeringCueClass                        FUN_10004950
avnHUDImageClass                            FUN_10004950
avnHUDElementClass                            FUN_10004950
avnHUDGlideslopeClass                        FUN_10004ac0
avnHUDDeviationClass                        FUN_10004bc0
avnHUDDeviationClass                        FUN_10004c90
avnHUDImageClass                            FUN_10004c90
avnHUDElementClass                            FUN_10004c90
avnHUDLCOSClass                                FUN_10004e90
avnHUDLCOSClass                                FUN_10004f60
avnHUDImageClass                            FUN_10004f60
avnHUDElementClass                            FUN_10004f60
avnHUDCCIPClass                                FUN_10004ff0
avnHUDCCIPClass                                FUN_100050f0
avnHUDImageClass                            FUN_100050f0
avnHUDElementClass                            FUN_100050f0
avnHUDTD_RadarClass                            FUN_10005260
avnHUDTD_HeatClass                            FUN_100052d0
avnHUDTD_LaserClass                            FUN_10005390
avnHUDTD_EOClass                            FUN_100054b0
avnHUDWaypointIDClass                        FUN_100055d0
avnHUDWaypointRangeClass                    FUN_10005670
avnHUDTargetTextClass                        FUN_10005730
avnHUDRadarRangeScaleTextClass                FUN_10005a40
avnHUDRadarRangeScaleClass                    FUN_10005b80
avnHUDRadarRangeScaleClass                    FUN_10005cc0
avnHUDClosureRateScaleClass                    FUN_10005d30
avnHUDMasterArmClass                        FUN_10005d60
avnHUDMasterArmTextClass                    FUN_10005eb0
avnHUDSelectedWeaponTextClass                FUN_10005fd0
avnHUDWeaponCountClass                        FUN_100063b0
avnHUDASE_RadarClass                        FUN_100064a0
avnHUDASE_RadarClass                        FUN_10006550
avnHUDImageClass                            FUN_10006550
avnHUDElementClass                            FUN_10006550
avnHUDASE_HeatClass                            FUN_10006740
avnHUDASE_HeatClass                            FUN_100067f0
avnHUDImageClass                            FUN_100067f0
avnHUDElementClass                            FUN_100067f0
avnHUDRadarAimDotClass                        FUN_100069c0
avnHUDBreakXClass                            FUN_10006a80
avnHUDTargetTextClass                        FUN_10007cd0
avnHUDRadarRangeClass                        FUN_10007cd0
avnHUDTargetTextClass                        FUN_10007d50
avnHUDRadarTargetBearingClass                FUN_10007d50
avnHUDTargetTextClass                        FUN_10007dd0
avnHUDRadarTargetTASClass                    FUN_10007dd0
avnHUDTargetTextClass                        FUN_10007e50
avnHUDRadarTargetAspectClass                FUN_10007e50
avnHUDTargetTextClass                        FUN_10007f40
avnHUDRadarTargetHeadingClass                FUN_10007f40
avnHUDTargetTextClass                        FUN_10007fc0
avnHUDRadarTargetVcClass                    FUN_10007fc0
avnHUDTargetTextClass                        FUN_10008040
avnHUDRadarTargetAltClass                    FUN_10008040
avnHUDVerticalVelocityScaleClass            FUN_1000af00
avnHUDTextClass                                FUN_1000af30
avnHUDElementClass                            FUN_1000af30
avnHUDTextClass                                FUN_1000af90
avnHUDElementClass                            FUN_1000af90
avnHUDClosureRateScaleClass                    FUN_1000b010
avnHUDImageClass                            FUN_1000b040
avnHUDElementClass                            FUN_1000b040
avnHUDAirspeedScaleClass                    FUN_1000b0f0
avnHUDAltitudeScaleClass                    FUN_1000b170
avnHUDRadarRangeScaleClass                    FUN_1000b340
RadarClass                                    FUN_100189d0
RadarClass                                    FUN_10018b50
imgIImageFileClass                            FUN_10023bd0
imgIImageFileClass                            FUN_10024490
imgIImageFileClass                            FUN_10024cf0
imgJPGImageClass                            FUN_100273c0
imgJPGImageClass                            FUN_100274c0
imgJPGImageClass                            FUN_100275f0
imgIconImageClass                            FUN_10027660
imgIconImageClass                            FUN_10027bb0
imgIconImageClass                            FUN_10028350
imgDDSImageClass                            FUN_100283c0
imgDDSImageClass                            FUN_100284c0
imgDDSImageClass                            FUN_10028600
imgTargaImageClass                            FUN_10028670
imgTargaImageClass                            FUN_10029120
imgTargaImageClass                            FUN_10029180
imgTargaImageClass                            FUN_100291e0
imgTargaImageClass                            FUN_10029a00
imgBMPImageClass                            FUN_10029a70
imgBMPImageClass                            FUN_10029fb0
imgBMPImageClass                            FUN_1002a010
imgBMPImageClass                            FUN_1002a070
imgBMPImageClass                            FUN_1002a800
std                                            FUN_1003102b
std                                            FindHandler
std                                            FUN_10031bf5
std                                            FUN_10037ce4
std                                            FUN_10037cef
 

Avionics String List

Quote


FUN_10009920
-------------
"HUD"
"BoresightOffset"
"HUDColor"
"Color"
"HUDColor"
"HUDMaterial"
"Material"
"HUDMaterial"
"fltHUD.fx"
"TextureSize"
"FOV"
"ViewportTopLeft"
"ViewportBottomRight"
"GunBoresightAngle"
"RocketBoresightAngle"
"Font"
"HUDFont"
"Color"
"Color"
"NavMode"
"HUDModeNav"
"Symbol[%02d]"
"Symbol[%02d]"
"SymbolType"
"AAMode"
"HUDModeAA"
"Symbol[%02d]"
"Symbol[%02d]"
"SymbolType"
"AGMode"
"HUDModeAG"
"Symbol[%02d]"
"Symbol[%02d]"
"SymbolType"
"LandingMode"
"HUDModeLanding"
"Symbol[%02d]"
"Symbol[%02d]"
"SymbolType"
"BulletObject"

FUN_100234c0
-------------
"EffectShaderName"
"DepthBufferCheck"
"DepthBufferWrite"
"LightEnabled"
"UseLightLevel"
"SpecularEnabled"
"FogEnabled"
"PriorityLevel"
"PostProcessing"
"RenderToBrightness"
"AmbientColor"
"DiffuseColor"
"SpecularColor"
"SpecularLevel"
"SpecularPower"
"Transparency"
"Reflectivity"
"ZBufferOffset"
"CullMode"
"BlendOp"
"BumpAmount"
"NumTextureStages"

FUN_10004e90
-------------
"FallLineImage"
"ShowAnyWeapon"

Etc..

I’m working through each DLL, generating text files for all of them. It will take some time, but once done, I’ll start a new thread called "Advanced Modding" with the resource library.


Eagle114th

  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..