Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 36 names #7

Merged
merged 16 commits into from
Nov 16, 2024
Merged

Add 36 names #7

merged 16 commits into from
Nov 16, 2024

Conversation

emoose
Copy link
Contributor

@emoose emoose commented Nov 14, 2024

Just found https://github.com/0x1F9F1/joaat-in-the-middle which can bruteforce pretty quick, but gives a lot of false positives, I'll try going through some of the rest with it and see what it gives us.

@emoose emoose changed the title Add 6 names Add 10 names Nov 14, 2024
Func that adds the UI_ADDICON native is called from hudManager, so
UI_HUD seemed a better fit
based on rdr2scripting::population::SetZoneAllowedTpSpawnAndReadyTooClose
@TheRouletteBoi
Copy link
Owner

Just found https://github.com/0x1F9F1/joaat-in-the-middle which can bruteforce pretty quick, but gives a lot of false positives, I'll try going through some of the rest with it and see what it gives us.

What dictionary list are you using for bruteforcing?

@emoose
Copy link
Contributor Author

emoose commented Nov 14, 2024

Using these 3:
rdr_lists.zip

The words.txt file has the words with underscores attached, and end.txt has them without it for the last word

Then I just run the bruter like
jitm $9A4CD54B output.txt words.txt end.txt
Then look at output.txt, if nothing looks good then add another words.txt and keep adding them
jitm $9A4CD54B output.txt words.txt words.txt end.txt
If you know the start/end of the string you can include it with $whatever as well
jitm $9A4CD54B output.txt $is_current_camera_ words.txt end.txt
jitm $9A4CD54B output.txt $is_current_ words.txt words.txt $transitioning

alphanum.txt can be used instead of words to try bruting a-z for that part too

Think I might have a bunch of crap in that words list that never actually get used though, probably makes it put out a lot more false positives :/

Here's magicrdr's guesses for a lot of the ones we're missing too, been helping a lot to narrow them down

0x5FCF3B85 = { 1607416709, "_AUDIO_INIT_FAC_US_LAW_ENFORCEMENT_VALUE" },
0xBAEC56D1 = { 3136050897, "_AUDIO_SET_MS_BETWEEN_PLAYER_TALKS_TO_SELF" },
0x4417C9F2 = { 1142409714, "_IS_ANY_NAMED_SCRIPT_RUNNING" },
0x05719022 = { 91328546, "_TERMINATE_ALL_CHILD_SCRIPTS" },
0x4C48EA4D = { 1279846989, "_GET_MAX_INSTRUCTION_COUNT" },
0xD058BD70 = { 3495476592, "_GET_USED_INSTRUCTION_COUNT" },
0x26884138 = { 646463800, "_GET_REMAINING_INSTRUCTION_COUNT" },
0xF1A53C41 = { 4054137921, "_VDIRECTION_VECTOR_FROM_EULERS" },
0xF76F2BB3 = { 4151258035, "_VROTATE_VECTOR_FROM_EULERS" },
0x65DAA654 = { 1708828244, "_VROTATE_EULER_FROM_EULERS" },
0x141201A3 = { 336724387, "_CONSTRUCT_MATRIX_AND_TRANSFORM" },
0x9C40E671 = { 2621498993, "_GET_VECTOR_HEADING_DEGS" },
0xADF7D54B = { 2918700363, "_GET_VECTOR_HEADING_RADS" },
0x44986367 = { 1150837607, "_CREATE_VECTOR_FROM_HEADING" },
0xBB3CDF72 = { 3141328754, "_TRANSFORM_WORLD_TO_SCREEN" },
0x3C2D93C1 = { 1009619905, "_DEBUG_DRAW_STRING_ON_SCREEN" },
0xC7612A79 = { 3345033849, "_GET_PARAM_VALUE" },
0xB427CB25 = { 3022506789, "_ARE_BUMPER_BUTTONS_SWAPPED" },
0x6CD7DCE1 = { 1826086113, "_GET_START_POS" },
0x3B004817 = { 989874199, "_IS_START_POS_IN_COMMAND_LINE" },
0xE13B49BD = { 3778759101, "_IS_GAME_CAMERA_AUTO_CENTERING" },
0x4062688A = { 1080191114, "_IS_GAME_CAMERA_AUTO_TILTING" },
0xCDA6BB6C = { 3450256236, "_IS_CUTSCENE_TUNER_PLAYING_BACK" },
0xFF1F1730 = { 4280227632, "_GET_CUTSCENE_TUNER_CUTSCENE_INPUTS_OBJECT" },
0x7BF75BCE = { 2079808462, "_GET_ITEM_CRC_AT_INDEX" },
0x7F4D5AE0 = { 2135775968, "_GET_ACCESSORY_CRC_AT_INDEX" },
0x608DCAEF = { 1619905263, "_GET_COLLECTABLE_CRC_AT_INDEX" },
0x5CAFCBD4 = { 1555024852, "_HAS_ENUMERATED_WEAPON_READY" },
0xE094DB31 = { 3767851825, "_IS_ACCESSORY_EQUIPPED" },
0x98B3ABFA = { 2561911802, "_ADD_AMMO_OF_TYPE" },
0x4372593E = { 1131567422, "_SET_AMMO_OF_TYPE" },
0x6ADAAD87 = { 1792716167, "_SET_MAX_AMMO_AMOUNT" },
0x4FE2B586 = { 1340257670, "_SET_INFINITE_AMMO_FLAG" },
0x7AB368CF = { 2058578127, "_GET_MAX_AMMO_AMOUNT" },
0xC666B987 = { 3328620935, "_GET_INFINITE_AMMO_FLAG" },
0x30C67D05 = { 818314501, "_AMBIENT_ENABLE_ELEVATION_IN_AREA_RANGE_FILTER" },
0x0AC99007 = { 180981767, "_AMBIENT_SET_ELEVATION_IN_AREA_RANGE_FILTER" },
0xA936E73B = { 2838947643, "_SET_LAYOUT_CONSIDER_AS_WHOLE" },
0x000079CB = { 31179, "_FIXUP_TRANSFORMS" },
0x65C3D8F6 = { 1707333878, "_WAS_LAST_OBJECT_ALREADY_IN_GAME" },
0x50D39153 = { 1356042579, "_GET_OBJECT_FROM_OBJECTSET" },
0x9189EB8B = { 2441735051, "_CREATE_VOLUME_SPAWNING_ZONE_FROM_VOLUME" },
0x6745191B = { 1732581659, "_RMPTFX_EFFECT_START" },
0x276EFF8E = { 661585806, "_RMPTFX_EFFECT_START_AND_FADE_IN" },
0xE18028C1 = { 3783272641, "_RMPTFX_EFFECT_STOP" },
0x7246F438 = { 1917252664, "_RMPTFX_EFFECT_STOP_AND_RESET" },
0x1A59E608 = { 442099208, "_RMPTFX_EFFECT_STOP_AND_FADE_OUT" },
0xF1F8AFCA = { 4059606986, "_CREATE_RMPTFX_EFFECT_IN_LAYOUT" },
0xFF8CBD07 = { 4287413511, "_CREATE_RMPTFX_EFFECT_ON_OBJECT" },
0x2A902148 = { 714088776, "_CREATE_RMPTFX_EFFECT_ON_BONE" },
0x39286DE5 = { 958950885, "_CREATE_RMPTFX_EFFECT_ON_CURVE" },
0x78B73E47 = { 2025274951, "_GET_OBJECT_ATTACHMENT" },
0x55E6227E = { 1441145470, "_GET_TYPE_ID_USING_ACTOR_ENUM" },
0x214AFB8C = { 558562188, "_IS_ASSET_VALID" },
0xFDF42AAC = { 4260637356, "_IS_ASSET_VALID_BY_STRING" },
0xDF93BD7C = { 3751001468, "_DESTROY_CURVE" },
0x04D89A35 = { 81304117, "_TRAVEL_DISTANCE_ON_CURVE_FROM_CURVE_POINT" },
0x49D2C1DA = { 1238548954, "_CALCULATE_CURVE_DISTANCE_BY_SUBDIVISION_COUNT" },
0x5545C218 = { 1430635032, "_GET_SAG_PLAYER_STAT_FLOAT" },
0xE623B382 = { 3861099394, "_GET_SAG_PLAYER_STAT_INT" },
0xF1A723D0 = { 4054262736, "_SET_SAG_PLAYER_STAT_INT" },
0x4A2DE1D0 = { 1244520912, "_IS_MOVER_ON_VEHICLE_PATH" },
0xA6AA7B9E = { 2796190622, "_IS_MOVER_IN_WATER_OF_DEPTH" },
0x4A1D2E25 = { 1243426341, "_SCHEDULE_STOP_CUSTOM_UNSUSPEND" },
0x817B6952 = { 2172348754, "_SCHEDULE_STOP_CUSTOM_UNFREEZE" },
0xC17BAD12 = { 3246107922, "_SCHEDULE_STOP_REPLICATION" },
0x8062BD74 = { 2153954676, "_DLC_SHOTGUN_SPREAD_OVERRIDE" },
0xBE06C265 = { 3188114021, "_GET_WEAPON_ICON_NAME" },
0xDB679ED9 = { 3681001177, "_GET_WEAPON_ENUM_CATEGORY" },
0x0A0E660E = { 168715790, "_GRINGO_PLAYER_OVERRIDE_ON" },
0xBBB2780E = { 3149035534, "_GRINGO_IS_BREAK_TOGGLE_SET" },
0x6BA667B5 = { 1806067637, "_GRINGO_VALIDATE_PROP" },
0x57D9950B = { 1473877259, "_FRAG_INIT_CLASS" },
0xF81E2097 = { 4162723991, "_NET_IS_SLOT_VALID_IN_CLIENT_BROADCAST_VARIABLES" },
0x64C2DD40 = { 1690492224, "_NET_IS_CLIENT_DATA_VALID_FOR_ALL_SLOTS" },
0xA80C6DE6 = { 2819386854, "_NET_IS_DATA_VALID_FOR_ALL_SLOTS_IN_CLIENT_BROADCAST_VARIABLES" },
0x1306549E = { 319181982, "_NET_SET_REPLICATE_ALWAYS_TO_LAYOUT" },
0x5C4CAE3A = { 1548529210, "_NET_SET_LAYOUT_OBJECTS_REPLICATE_TO_LAYOUT" },
0xF6E40FF3 = { 4142141427, "_NET_SESSION_SET_SEARCHBOT_PARAMS" },
0xC0849D70 = { 3229916528, "_NET_SESSION_USE_QUICK_MATCH_FILTER" },
0xFA0E1F8B = { 4195229579, "_NET_SET_SESSION_MAX_GAMERS_OVERRIDE" },
0x7540959C = { 1967166876, "_NET_REQUEST_BECOME_GAME_HOST" },
0x50C18480 = { 1354859648, "_NET_SET_GAMER_DATA" },
0x97F15B69 = { 2549177193, "_NET_AH_LAG_HACK_KILL_PROTECTION_ENABLE" },
0xCA0739A8 = { 3389471144, "_NET_AH_LAG_HACK_MOVE_PROTECTION_ENABLE" },
0x03962973 = { 60172659, "_NET_GET_JOIN_WISH_PAD" },
0x8DEC3E03 = { 2381069827, "_NET_SYS_UI_SET_POSITION" },
0xA6403262 = { 2789225058, "_NET_XPCOUNTER_REPORT_CHANGE" },
0x79AFAB1F = { 2041555743, "_NET_SESSION_GET_NORMALIZE_POSITION" },
0x581CAC89 = { 1478274185, "_NET_SESSION_GET_CURRENT_SEARCH_GENERATION" },
0xA174152C = { 2708739372, "_NET_SESSION_GET_GENERATION_FOR_NET_SESSION_OBJECT" },
0x0183A3F0 = { 25404400, "_NET_SESSION_GET_JOINED_GENERATION_FROM_NET_SESSION_OBJECT" },
0x63034F52 = { 1661161298, "_NET_SESSION_JOIN_NET_SESSION_FROM_OBJECT" },
0xE9EAC45C = { 3924477020, "_NET_GET_SESSION_GAMEMODE_TYPE" },
0x55C5BB93 = { 1439021971, "_NET_GAMETYPE_ADD_GAMETYPE_ENTRY" },
0xFAD5A270 = { 4208304752, "_NET_GAMETYPE_GET_GAMETYPE_ENTRY" },
0xD7572C68 = { 3612814440, "_NET_GET_SCORE_FOR_TOP_SELECTED_FRIEND" },
0xA684E813 = { 2793728019, "_NET_GET_SLOT_FOR_TOP_SELECTED_FRIEND" },
0x7154D15B = { 1901384027, "_NET_SELECT_NEAREST_FRIENDS" },
0x598815BD = { 1502090685, "_SET_WANTED_OPACITY" },
0xD1C91A7F = { 3519617663, "_SCR_FIRE_BLOOD_SPLAT" },
0x7E0CDD87 = { 2114772359, "_CLEAR_DEATH_EFFECT" },
0xE6C1DBD9 = { 3871464409, "_BINOCULARS_SET_ACTIVE" },
0x00EF33EF = { 15676399, "_BINOCULARS_IS_LOADED" },
0xE613AE52 = { 3860049490, "_SET_TEXTURE_OPACITY" },
0x84F3DD81 = { 2230574465, "_SET_TEXTURE_POSITION" },
0xF55B50ED = { 4116402413, "_SET_TEXTURE_ENABLED" },
0x6336182D = { 1664489517, "_SET_TEXTURE_NAME" },
0x3A6960B2 = { 979984562, "_SET_TEXTURE_SCALE" },
0x7614AEBA = { 1981066938, "_START_WORLD_MOVIE" },
0x69FC319E = { 1778135454, "_STOP_WORLD_MOVIE" },
0xD036DF91 = { 3493257105, "_IS_WORLD_MOVIE_PLAYING" },
0x211DE185 = { 555606405, "_CREATE_GRAVESTONE_TEXT_AT_LOCATOR" },
0x1182C34F = { 293782351, "_FX_SET_MELEE_MARKER_SIZE" },
0xD0FB6AF0 = { 3506137840, "_FX_SET_MELEE_MARKER_COLOR" },
0xC00F8181 = { 3222241665, "_FX_SET_MELEE_MARKER_STROBE_INTENSITY" },
0x4897DD37 = { 1217912119, "_FX_ENABLE_SCRIPT_MELEE_MARKER" },
0x3B32AB84 = { 993176452, "_FX_CREATE_GLOW_INDICATOR_ATTACHED" },
0x1E98AFEC = { 513322988, "_SET_HUD_MAP_OBJECTIVE_ONLY" },
0xFF3DB575 = { 4282234229, "_SET_PAUSE_MAP_OBJECTIVE_ONLY" },
0x6077F3AE = { 1618473902, "_SET_BLIP_HEIGHT_ENABLED" },
0x31A55281 = { 832918145, "_HUD_SET_WANTED" },
0x651C1FC2 = { 1696341954, "_HUD_SET_WANTED_LEVEL" },
0xC6E36B1D = { 3336792861, "_HUD_SHOW_MISSION_LOADING_SCREEN" },
0xEF270DC9 = { 4012314057, "_HUD_SHOW_RANDOM_LOADING_SCREEN" },
0x6CC9CCE7 = { 1825164519, "_HUD_IS_RUNNING_ZOMBIE_MODE" },
0x8701F1F6 = { 2265051638, "_HUD_IS_RUNNING_HARD_MODE" },
0x3842B89F = { 943896735, "_HUD_SET_ZOMBIE_THEME" },
0xFDB5FC03 = { 4256562179, "_HUD_SET_RED_DEAD_THEME" },
0xE7023D23 = { 3875683619, "_CREATE_EXPLOSION" },
0x21A68D47 = { 564563271, "_SET_SKY_IS_INTRO_RUNNING" },
0xB1A2028A = { 2980184714, "_UI_ENTER_EXCLUSIVE" },
0xD792B93B = { 3616717115, "_UI_SET_AUTO_EXIT_TIME" },
0x9D20BDC4 = { 2636168644, "_UI_IS_MOVIE_LOADED" },
0x9613C2D0 = { 2517877456, "_GET_PLAYER_CONTROL" },
0x7F454A92 = { 2135247506, "_LAST_TIME_SHOT_NEAR_BY" },
0xA4E29C31 = { 2766314545, "_SET_ACTOR_FORCE_HIGH_LOD_UPDATE" },
0x7A207FFE = { 2048950270, "_ACTOR_HAS_KO_POINTS" },
0x945F518F = { 2489274767, "_AI_ATTENTION_ADD_TARGET" },
0x2E84E682 = { 780461698, "_ACTOR_SET_ENABLED" },
0x261A4C0E = { 639257614, "_ACTOR_SET_MIN_RANGE" },
0x79EFDF7E = { 2045763454, "_ACTOR_SET_MIN_RANGE_DEFAULT" },
0x5D863C30 = { 1569078320, "_ACTOR_SET_MAX_RANGE" },
0xCA669478 = { 3395720312, "_ACTOR_SET_BASE_PRIORITY_DEFAULT" },
0x7DA34015 = { 2107850773, "_ACTOR_SET_CAN_USE_INDOORS" },
0xAC72E757 = { 2893211479, "_SPEECH_CONTEXT_DISABLE_NON_COMBAT_SPEECH_UNIVERSAL" },
0x99AFD2D1 = { 2578436817, "_SPEECH_CONTEXT_DISABLE_NON_COMBAT_SPEECH_INDIVIDUAL" },
0x5AEA32D1 = { 1525297873, "_SQUAD_FLOCK_CLEAR_EXTERNAL_INFLUENCES" },
0x484643F6 = { 1212564470, "_SQUAD_FLOCK_CLEAR_EXTERNAL_INFLUENCES_FROM_OBJECT" },

@TheRouletteBoi
Copy link
Owner

TheRouletteBoi commented Nov 14, 2024

Which one were you using before joaat-in-the-middle? I've been using the GTAV ones from Alexander Blade's documentation

native_brute_forcing.zip
rdrstringsdump.txt

nativebrute yeilds the best results so far. Just check out the readme

@emoose
Copy link
Contributor Author

emoose commented Nov 15, 2024

Oh neat hadn't seen those before, ended up writing my own messy tool for it, got it at a decent speed (800M-1B hashes/s) but it uses a lot of hardcoded stuff, have to rebuild to switch between wordlists/alphanum and stuff like that.

joaat in the middle seems a lot faster than what I had though, but does give a ton of false positives to go through... will have to give nativebruter a try soon, maybe lists it has could help with a few names.

btw do you know if there were ever any script editors made for switch/pc RDR? I know magicrdr has a script decompiler but haven't been able to find any disassembler/editor for it, did find a pic of an old editor for RDR 360 but couldn't even find any working links for that anymore: https://www.se7ensins.com/proxy.php?image=http%3A%2F%2Fgyazo.com%2F74d4ad70fc23436816f378ad58014fa1.png&hash=7bf6c323b7695ac375f8124019b61fbb

atm I've been hex editing scripts to change stuff, wish there was something like that XSC editor instead

@emoose emoose changed the title Add 10 names Add 28 names Nov 15, 2024
based on aiScript::AiSpeechSetDefaultPackage
@emoose emoose changed the title Add 28 names Add 29 names Nov 15, 2024
@emoose emoose changed the title Add 29 names Add 35 names Nov 15, 2024
@emoose emoose changed the title Add 35 names Add 36 names Nov 15, 2024
@TheRouletteBoi
Copy link
Owner

Oh neat hadn't seen those before, ended up writing my own messy tool for it, got it at a decent speed (800M-1B hashes/s) but it uses a lot of hardcoded stuff, have to rebuild to switch between wordlists/alphanum and stuff like that.

joaat in the middle seems a lot faster than what I had though, but does give a ton of false positives to go through... will have to give nativebruter a try soon, maybe lists it has could help with a few names.

btw do you know if there were ever any script editors made for switch/pc RDR? I know magicrdr has a script decompiler but haven't been able to find any disassembler/editor for it, did find a pic of an old editor for RDR 360 but couldn't even find any working links for that anymore: https://www.se7ensins.com/proxy.php?image=http%3A%2F%2Fgyazo.com%2F74d4ad70fc23436816f378ad58014fa1.png&hash=7bf6c323b7695ac375f8124019b61fbb

atm I've been hex editing scripts to change stuff, wish there was something like that XSC editor instead

Try checking out this one. https://github.com/NativeFunction/RASM

@emoose
Copy link
Contributor Author

emoose commented Nov 15, 2024

Ahh that's perfect, not sure how I missed that lol, looks like it only has X360/PS3 support but hopefully can add PC stuff for it, ty!

E: made a fork at https://github.com/emoose/RASM with RDR PC stuff, seems to disassemble fine but haven't looked at reassembling yet

@TheRouletteBoi TheRouletteBoi merged commit 60e79c7 into TheRouletteBoi:master Nov 16, 2024
1 check passed
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